Skip to content
Snippets Groups Projects
Commit 3d3b39d2 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

CMake: headers are installed in CMAKE_INSTALL_INCLUDEDIR

parent b1712977
No related branches found
No related tags found
No related merge requests found
Pipeline #37285 passed
......@@ -104,8 +104,8 @@ modernize_target_link_libraries(
Eigen3::Eigen
INCLUDE_DIRS
${EIGEN3_INCLUDE_DIR})
target_include_directories(${PROJECT_NAME}
INTERFACE $<INSTALL_INTERFACE:include>)
target_include_directories(
${PROJECT_NAME} INTERFACE $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
install(
TARGETS ${PROJECT_NAME}
EXPORT ${TARGETS_EXPORT_NAME}
......
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