Skip to content
Snippets Groups Projects
Commit ab615c4a authored by Mederic Fourmy's avatar Mederic Fourmy
Browse files

target_include_directories so that the include directories do not need to be...

target_include_directories so that the include directories do not need to be configured in other plugins
parent e34cdaee
No related branches found
No related tags found
2 merge requests!451After cmake and const refactor,!445Resolve "Refactoring WOLF installation system"
...@@ -474,7 +474,11 @@ install( ...@@ -474,7 +474,11 @@ install(
${LIB_INSTALL_DIR}/${PLUGIN_NAME}/cmake ${LIB_INSTALL_DIR}/${PLUGIN_NAME}/cmake
) )
# Specifies include directories to use when compiling the plugin target
# This way, include_directories does not need to be called in plugins depending on this one
target_include_directories(${PLUGIN_NAME} INTERFACE
$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>
)
#install headers #install headers
INSTALL(FILES ${HDRS_CAPTURE} INSTALL(FILES ${HDRS_CAPTURE}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment