We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b171297 commit 3d3b39dCopy full SHA for 3d3b39d
CMakeLists.txt
@@ -104,8 +104,8 @@ modernize_target_link_libraries(
104
Eigen3::Eigen
105
INCLUDE_DIRS
106
${EIGEN3_INCLUDE_DIR})
107
-target_include_directories(${PROJECT_NAME}
108
- INTERFACE $<INSTALL_INTERFACE:include>)
+target_include_directories(
+ ${PROJECT_NAME} INTERFACE $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
109
install(
110
TARGETS ${PROJECT_NAME}
111
EXPORT ${TARGETS_EXPORT_NAME}
0 commit comments