Skip to content

Commit 395d8fe

Browse files
committed
Look for headers in CMAKE_INSTALL_INCLUDEDIR rather than _LIBDIR
The headers are installed to CMAKE_INSTALL_INCLUDEDIR here: https://github.com/BillyONeal/libsbp/blob/0a93888dd1f919dad5f8a153e2a106cf46404072/c/src/CMakeLists.txt#L81-L83 This patch originally authored by @ethanmusser in microsoft/vcpkg#48274
1 parent 0a93888 commit 395d8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ target_include_directories(sbp
5353
PUBLIC
5454
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
5555
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
56-
$<INSTALL_INTERFACE:${CMAKE_INSTALL_LIBDIR}>
56+
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
5757
PRIVATE
5858
${CMAKE_CURRENT_SOURCE_DIR}/include
5959
)

0 commit comments

Comments
 (0)