fixed: also have to copy include directories

in particular installed builds with vendored fmt broke
This commit is contained in:
Arne Morten Kvarving committed 2026-04-08 11:28:42 +02:00
1 parent 9909f95ac8
commit 587a579720
1 file changed
+2 -1
+2 -1
View File
@@ -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)