Skip to content
Snippets Groups Projects
Commit 4ed02067 authored by Norbert Grunwald's avatar Norbert Grunwald Committed by Dmitri Naumov
Browse files

[cmake] Add TH2M to ProcessLib and Tests CMake.

parent 8f6e5a6e
No related branches found
No related tags found
No related merge requests found
get_source_files(SOURCES PhaseTransitionModels)
ogs_add_library(TH2M ${SOURCES})
if(BUILD_SHARED_LIBS)
install(TARGETS TH2M LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()
target_link_libraries(TH2M PUBLIC ProcessLib PRIVATE ParameterLib)
......@@ -34,6 +34,9 @@ set_source_files_properties(
set(TEST_SOURCES ${TEST_SOURCES} ${TEST_SOURCES_NUMLIB})
append_source_files(TEST_SOURCES ParameterLib)
append_source_files(TEST_SOURCES ProcessLib)
if(OGS_BUILD_PROCESS_TH2M)
append_source_files(TEST_SOURCES ProcessLib/TH2M)
endif()
if(OGS_BUILD_GUI)
append_source_files(TEST_SOURCES FileIO_Qt)
......@@ -73,6 +76,7 @@ target_link_libraries(
Threads::Threads
${VTK_LIBRARIES}
$<$<TARGET_EXISTS:LIE>:LIE>
$<$<TARGET_EXISTS:TH2M>:TH2M>
$<$<TARGET_EXISTS:MPI::MPI_CXX>:MPI::MPI_CXX>
$<$<TARGET_EXISTS:SwmmInterface>:SwmmInterface>
$<$<TARGET_EXISTS:InSituLib>:InSituLib>
......
......@@ -17,6 +17,7 @@ set(_processes_list
SmallDeformationNonlocal
SteadyStateDiffusion
TES
TH2M
ThermalTwoPhaseFlowWithPP
ThermoHydroMechanics
ThermoMechanicalPhaseField
......
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