We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d3d169 commit 57390edCopy full SHA for 57390ed
CMakeLists.txt
@@ -31,8 +31,6 @@ set (HEADER_FILES
31
include/PointSet.h
32
include/DataStructures.h)
33
34
-include_directories("include")
35
-
36
if (BUILD_AS_SHARED_LIBS)
37
add_library(CompactNSearch SHARED
38
${HEADER_FILES}
@@ -45,6 +43,8 @@ else()
45
43
)
46
44
endif ()
47
+target_include_directories(CompactNSearch PUBLIC include)
+
48
install(FILES "include/CompactNSearch" ${HEADER_FILES}
49
DESTINATION include/)
50
0 commit comments