https://gitlab.opengeosys.org/ogs/ogs.git
Revision c04b0b7e7c91e22ea41389d9ae2efea1cb1f4910 authored by Dmitri Naumov on 19 May 2021, 14:35:45 UTC, committed by Dmitri Naumov on 19 May 2021, 15:46:41 UTC
1 parent b94ce77
Raw File
Tip revision: c04b0b7e7c91e22ea41389d9ae2efea1cb1f4910 authored by Dmitri Naumov on 19 May 2021, 14:35:45 UTC
[App/IO] Surfer raster header returns an optional.
Tip revision: c04b0b7
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 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