Skip to content

Commit d7857d8

Browse files
committed
CMake: headers are installed in CMAKE_INSTALL_INCLUDEDIR
which might not be "include"
1 parent 247c60a commit d7857d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_SOURCES}
297297
target_include_directories(
298298
${PROJECT_NAME} SYSTEM
299299
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>
300-
$<INSTALL_INTERFACE:include>)
300+
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
301301

302302
modernize_target_link_libraries(
303303
${PROJECT_NAME}

0 commit comments

Comments
 (0)