mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-24 16:30:02 -06:00
Merge pull request #4733 from akva2/fix_superbuild_generated_header
fixed: parallel super builds
This commit is contained in:
commit
e36992cb90
@ -493,6 +493,9 @@ 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")
|
||||||
|
add_dependencies(flow_lib${OBJ} opmcommon)
|
||||||
|
endif()
|
||||||
opm_add_test(flow_${OBJ}
|
opm_add_test(flow_${OBJ}
|
||||||
ONLY_COMPILE
|
ONLY_COMPILE
|
||||||
SOURCES
|
SOURCES
|
||||||
|
Loading…
Reference in New Issue
Block a user