mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Merge pull request #5016 from akva2/fix_gen_headers_superbuild_ninja
fixed: also add dependency with ninja generator
This commit is contained in:
+1
-1
@@ -556,7 +556,7 @@ foreach(OBJ ${COMMON_MODELS} ${FLOW_MODELS} ${FLOW_VARIANT_MODELS})
|
|||||||
if(TARGET fmt::fmt)
|
if(TARGET fmt::fmt)
|
||||||
target_link_libraries(flow_lib${OBJ} fmt::fmt)
|
target_link_libraries(flow_lib${OBJ} fmt::fmt)
|
||||||
endif()
|
endif()
|
||||||
if(TARGET opmcommon AND CMAKE_GENERATOR MATCHES "Makefiles")
|
if(TARGET opmcommon)
|
||||||
add_dependencies(flow_lib${OBJ} opmcommon)
|
add_dependencies(flow_lib${OBJ} opmcommon)
|
||||||
endif()
|
endif()
|
||||||
opm_add_test(flow_${OBJ}
|
opm_add_test(flow_${OBJ}
|
||||||
|
|||||||
Reference in New Issue
Block a user