Skip to content

Commit

Permalink
Squashed 'database/' changes from e0447f7a..9665bd4a
Browse files Browse the repository at this point in the history
9665bd4a Updated for ubuntu 22.04

git-subtree-dir: database
git-subtree-split: 9665bd4a81b47793f54efa908511c8caaa890d53
  • Loading branch information
Darth Vader committed Mar 5, 2024
1 parent f4648dd commit de5caaf
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# set standard directory locations
include(GNUInstallDirs)

set(phreeqc_DATABASE
Amm.dat
core10.dat
Expand All @@ -11,19 +8,20 @@ set(phreeqc_DATABASE
minteq.dat
minteq.v4.dat
phreeqc.dat
PHREEQC_ThermoddemV1.10_15Dec2020.dat
pitzer.dat
sit.dat
Tipping_Hurley.dat
wateq4f.dat
)
)

# for mytest tests
foreach(db ${phreeqc_DATABASE})
configure_file(${db} ${db} COPYONLY)
endforeach()

if (WIN32)
install (FILES ${phreeqc_DATABASE} DESTINATION database)
if(WIN32)
install(FILES ${phreeqc_DATABASE} DESTINATION database)
else()
install (FILES ${phreeqc_DATABASE} DESTINATION ${CMAKE_INSTALL_DOCDIR}/database)
install(FILES ${phreeqc_DATABASE} DESTINATION ${CMAKE_INSTALL_DOCDIR}/database)
endif()

0 comments on commit de5caaf

Please # to comment.