Skip to content
Snippets Groups Projects
Commit 06401a46 authored by wenqing's avatar wenqing Committed by Dmitri Naumov
Browse files

cmake] Amending: Compile ChemistryLib only if there are mass transport related processes

parent 5c8c16d9
No related branches found
No related tags found
No related merge requests found
...@@ -30,9 +30,15 @@ target_link_libraries(ProcessLib ...@@ -30,9 +30,15 @@ target_link_libraries(ProcessLib
MeshLib MeshLib
NumLib NumLib
logog logog
ChemistryLib
PRIVATE ParameterLib GitInfoLib) PRIVATE ParameterLib GitInfoLib)
if (OGS_BUILD_PROCESS_ComponentTransport
OR OGS_BUILD_PROCESS_RichardsComponentTransport
OR OGS_BUILD_PROCESS_RichardsComponentTransport
OR OGS_BUILD_PROCESS_HeatTransportBHE)
target_link_libraries(ProcessLib PUBLIC ChemistryLib)
endif()
if(OGS_USE_PYTHON) if(OGS_USE_PYTHON)
add_subdirectory(BoundaryCondition/Python) add_subdirectory(BoundaryCondition/Python)
target_link_libraries(ProcessLib PUBLIC ProcessLibBoundaryConditionPython) target_link_libraries(ProcessLib PUBLIC ProcessLibBoundaryConditionPython)
......
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