mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-24 22:57:42 -05:00
fixed: also have to copy include directories
in particular installed builds with vendored fmt broke
This commit is contained in:
1 parent
9909f95ac8
commit
587a579720
1 file changed
+2
-1
+2
-1
@@ -47,8 +47,9 @@ function(simulators_add_target_options)
|
||||
get_property(defs TARGET opmsimulators PROPERTY INTERFACE_COMPILE_DEFINITIONS)
|
||||
target_compile_definitions(${PARAM_TARGET} PRIVATE ${defs})
|
||||
get_property(libs TARGET opmsimulators PROPERTY INTERFACE_LINK_LIBRARIES)
|
||||
target_compile_definitions(${PARAM_TARGET} PRIVATE ${defs})
|
||||
target_link_libraries(${PARAM_TARGET} PRIVATE ${libs})
|
||||
get_property(incs TARGET opmsimulators PROPERTY INTERFACE_INCLUDE_DIRECTORIES)
|
||||
target_include_directories(${PARAM_TARGET} PRIVATE ${incs})
|
||||
|
||||
if(TARGET opmcommon)
|
||||
add_dependencies(${PARAM_TARGET} opmcommon)
|
||||
|
||||
Reference in new issue
Block a user