mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5973 from bska/fix-main-dispatch-link
Link MainDispatchDynamic to LibFMT
This commit is contained in:
commit
710e3bb7ba
@ -541,6 +541,10 @@ set_property(TARGET moduleVersion PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|||||||
add_library(MainDispatchDynamic OBJECT opm/simulators/flow/MainDispatchDynamic.cpp)
|
add_library(MainDispatchDynamic OBJECT opm/simulators/flow/MainDispatchDynamic.cpp)
|
||||||
set_property(TARGET MainDispatchDynamic PROPERTY POSITION_INDEPENDENT_CODE ON)
|
set_property(TARGET MainDispatchDynamic PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||||
|
|
||||||
|
if(TARGET fmt::fmt)
|
||||||
|
target_link_libraries(MainDispatchDynamic fmt::fmt)
|
||||||
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user