Skip to content

Commit 6fd9e0a

Browse files
[C/C++] CMake: Set include install interface to include (#1535)
# Description @swift-nav/algint-team Resolves #1532. # API compatibility _**Does this change introduce a API compatibility risk?**_ No, the API is unchanged. It does introduce a build compatibility risk depending on how consumers use the configured install interface. ## API compatibility plan _**If the above is "Yes", please detail the compatibility (or migration) plan:**_ The change should be documented in the release notes with instructions that consumers will need to reconfigure their existing build caches. # JIRA Reference N/A Co-authored-by: Martin Altenburg <[email protected]>
1 parent 7671af7 commit 6fd9e0a

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)