Revision 0ad87c275a849cc2b38698a7194fb774a377a5ec authored by Lars Bilke on 13 January 2021, 14:32:49 UTC, committed by Lars Bilke on 13 January 2021, 14:32:49 UTC
May fix issues output from `git describe ...` missing the last tag.
1 parent 6d5f0fa
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