Revision d71e6964ee631b9b4ba294e81f01ac40d31f60e5 authored by Thomas Fischer on 09 June 2020, 07:26:30 UTC, committed by Thomas Fischer on 24 June 2021, 07:26:51 UTC
warning: statement should be inside braces [google-readability-braces-around-statements]
1 parent 1174eea
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