Revision 4d3f2a90cff897775434ba8d9d7751ef261af773 authored by Dmitri Naumov on 12 February 2021, 12:46:12 UTC, committed by Dmitri Naumov on 12 February 2021, 12:49:00 UTC
1 parent 670f98c
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})

include(GenerateExportHeader)
generate_export_header(ChemistryLib)

target_link_libraries(ChemistryLib PUBLIC iphreeqc PRIVATE NumLib spdlog::spdlog)

# 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