Skip to content

Commit bc3ed22

Browse files
authored
Merge pull request #5 from Vollkornaffe/master
target_include_directories
2 parents 0d3d169 + 57390ed commit bc3ed22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ set (HEADER_FILES
3131
include/PointSet.h
3232
include/DataStructures.h)
3333

34-
include_directories("include")
35-
3634
if (BUILD_AS_SHARED_LIBS)
3735
add_library(CompactNSearch SHARED
3836
${HEADER_FILES}
@@ -45,6 +43,8 @@ else()
4543
)
4644
endif ()
4745

46+
target_include_directories(CompactNSearch PUBLIC include)
47+
4848
install(FILES "include/CompactNSearch" ${HEADER_FILES}
4949
DESTINATION include/)
5050

0 commit comments

Comments
 (0)