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

Merge branch '29-cmake-remove-iri-algorithms-from-include-install-path' into devel

parents cd24480a 04ce62fd
No related branches found
No related tags found
No related merge requests found
Pipeline #11501 failed
......@@ -72,7 +72,6 @@ if(csm_FOUND)
endif()
# ============ INCLUDES ============
INCLUDE_DIRECTORIES("include")
INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIRS})
......@@ -205,9 +204,8 @@ install(
${LIB_INSTALL_DIR}/${PROJECT_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(${PROJECT_NAME} INTERFACE
target_include_directories(${PLUGIN_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>
)
......
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