There was an error while loading. Please reload this page.
2 parents 0d3d169 + 57390ed commit bc3ed22Copy full SHA for bc3ed22
1 file changed
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