Revision 9d0edb52820ffe937fa4334e34fc049aa67b0c17 authored by Jörg Buchwald on 03 November 2021, 15:42:23 UTC, committed by Jörg Buchwald on 04 November 2021, 17:25:11 UTC
1 parent 23f0cd0
Raw File
CMakeLists.txt
# Source files grouped by a directory
get_source_files(SOURCES)
append_source_files(SOURCES PhreeqcIOData)
append_source_files(SOURCES PhreeqcKernelData)
append_source_files(SOURCES Common)

# Create the library
ogs_add_library(ChemistryLib ${SOURCES})

target_link_libraries(
    ChemistryLib PUBLIC iphreeqc PRIVATE NumLib
)

# See https://github.com/ufz/ogs/pull/2982#issuecomment-641086788
set_source_files_properties(
    PhreeqcIO.cpp CreateChemicalSolverInterface.cpp PhreeqcKernel.cpp
    PROPERTIES SKIP_UNITY_BUILD_INCLUSION TRUE
)
back to top