swh:1:snp:f521c49ab17ef7db6ec70b2430e1ed203f50383f
Raw File
Tip revision: c67372048f0bf8b22051b06a4a51f7e5f7e284f8 authored by Lars Bilke on 26 August 2021, 13:02:00 UTC
[web] Updated prerequisites and fork workflow instructions.
Tip revision: c673720
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