swh:1:snp:f521c49ab17ef7db6ec70b2430e1ed203f50383f
Raw File
Tip revision: 0b0185727c522808e5f8a142230ec9c358d16859 authored by Lars Bilke on 21 October 2020, 07:46:35 UTC
drop: test ubuntu.
Tip revision: 0b01857
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