Skip to content

Commit

Permalink
Merge commit 'de5caaf6bc89be01d2d9e88ffc8e8139e55b3417'
Browse files Browse the repository at this point in the history
  • Loading branch information
Darth Vader committed Mar 5, 2024
2 parents 4172e23 + de5caaf commit 755e63a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions database/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 755e63a

Please # to comment.