mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Link MainDispatchDynamic to LibFMT
Some code in implementation depends on the libfmt headers.
This commit is contained in:
parent
fa67170c85
commit
f86383f194
@ -541,6 +541,10 @@ set_property(TARGET moduleVersion PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
add_library(MainDispatchDynamic OBJECT opm/simulators/flow/MainDispatchDynamic.cpp)
|
||||
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,
|
||||
# but this is not exposed in a super-build.
|
||||
add_dependencies(moduleVersion opmsimulators)
|
||||
|
Loading…
Reference in New Issue
Block a user