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

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

parent 4ac17b72
Branches
Tags
No related merge requests found
......@@ -349,7 +349,14 @@ add_subdirectory(MathLib)
add_subdirectory(MeshLib)
add_subdirectory(MeshGeoToolsLib)
add_subdirectory(NumLib)
if (OGS_BUILD_PROCESS_ComponentTransport
OR OGS_BUILD_PROCESS_RichardsComponentTransport
OR OGS_BUILD_PROCESS_RichardsComponentTransport
OR OGS_BUILD_PROCESS_HeatTransportBHE)
add_subdirectory(ChemistryLib)
endif()
if(OGS_BUILD_CLI OR OGS_BUILD_UTILS OR BUILD_TESTING)
add_subdirectory(ParameterLib)
add_subdirectory(MaterialLib)
......
......@@ -25,7 +25,12 @@ add_subdirectory(googletest)
option(OGS_USE_OPTIONAL_SUBMODULES "Option for enabling optional submodules" OFF)
#iphreeqc
if (OGS_BUILD_PROCESS_ComponentTransport
OR OGS_BUILD_PROCESS_RichardsComponentTransport
OR OGS_BUILD_PROCESS_RichardsComponentTransport
OR OGS_BUILD_PROCESS_HeatTransportBHE)
add_subdirectory(iphreeqc)
endif()
# MFrontGenericInterfaceSupport
if (OGS_USE_MFRONT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment