Skip to content
Snippets Groups Projects
Verified Commit 8ce92b13 authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] Cleanup, removed generate_export_header() calls.

Are already called in `ogs_add_library()`.
parent b5837315
No related branches found
No related tags found
No related merge requests found
......@@ -7,9 +7,6 @@ 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
......
......@@ -37,9 +37,6 @@ endif()
ogs_add_library(MaterialLib ${SOURCES})
include(GenerateExportHeader)
generate_export_header(MaterialLib)
target_include_directories(MaterialLib PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
if(OGS_USE_MFRONT)
target_compile_definitions(MaterialLib PUBLIC OGS_USE_MFRONT)
endif()
......
get_source_files(SOURCES)
ogs_add_library(ParameterLib ${SOURCES})
include(GenerateExportHeader)
generate_export_header(ParameterLib)
target_include_directories(ParameterLib PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries(ParameterLib
PUBLIC MathLib
PRIVATE BaseLib exprtk MeshLib spdlog::spdlog
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment