mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 09:16:07 -06:00
1 file changed
+7
@@ -545,6 +545,10 @@ if(TARGET fmt::fmt)
|
|||||||
target_link_libraries(MainDispatchDynamic fmt::fmt)
|
target_link_libraries(MainDispatchDynamic fmt::fmt)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(USE_TRACY_PROFILER AND Tracy_FOUND)
|
||||||
|
target_link_libraries(MainDispatchDynamic Tracy::TracyClient)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Strictly we only depend on the update-version target,
|
# Strictly we only depend on the update-version target,
|
||||||
# but this is not exposed in a super-build.
|
# but this is not exposed in a super-build.
|
||||||
add_dependencies(moduleVersion opmsimulators)
|
add_dependencies(moduleVersion opmsimulators)
|
||||||
@@ -568,6 +572,9 @@ foreach(OBJ ${COMMON_MODELS} ${FLOW_MODELS} ${FLOW_VARIANT_MODELS})
|
|||||||
if(TARGET opmcommon)
|
if(TARGET opmcommon)
|
||||||
add_dependencies(flow_lib${OBJ} opmcommon)
|
add_dependencies(flow_lib${OBJ} opmcommon)
|
||||||
endif()
|
endif()
|
||||||
|
if(USE_TRACY_PROFILER AND Tracy_FOUND)
|
||||||
|
target_link_libraries(flow_lib${OBJ} Tracy::TracyClient)
|
||||||
|
endif()
|
||||||
opm_add_test(flow_${OBJ}
|
opm_add_test(flow_${OBJ}
|
||||||
ONLY_COMPILE
|
ONLY_COMPILE
|
||||||
SOURCES
|
SOURCES
|
||||||
|
|||||||
Reference in new issue
Block a user