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

[conda] Build static MaterialLib.

parent ea6fdbda
No related branches found
No related tags found
No related merge requests found
......@@ -32,8 +32,13 @@ append_source_files(SOURCES PorousMedium/UnsaturatedProperty/CapillaryPressure)
append_source_files(
SOURCES PorousMedium/UnsaturatedProperty/RelativePermeability
)
if(CONDA_BUILD)
set(_static_on_conda STATIC)
endif()
ogs_add_library(MaterialLib GENERATE_EXPORT_HEADER ${SOURCES})
ogs_add_library(
MaterialLib GENERATE_EXPORT_HEADER ${_static_on_conda} ${SOURCES}
)
target_link_libraries(
MaterialLib PUBLIC BaseLib Eigen3::Eigen MaterialLib_SolidModels
......
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