Skip to content

Commit d58a42f

Browse files
authored
fix(building/cpack_slides): Fix path for target include dir (#156)
For the top-level project the source dir is used. This should usually not be suffixed with a includedir, as the headers are spread across the source subfolders.
1 parent 6e92449 commit d58a42f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

03_building_and_packaging/cpack_slides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ prefix/
7979
${CMAKE_CURRENT_SOURCE_DIR}/includedir
8080
PUBLIC
8181
# where top-level project will look for the library's public headers
82-
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/includedir>
82+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
8383
# where external projects will look for the library's public headers
8484
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/includedir>
8585
)

0 commit comments

Comments
 (0)