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