Skip to content

Commit 1f0664e

Browse files
committed
added ANN header to the installation directory
1 parent db8b8a2 commit 1f0664e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

external/ANN/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#==============================================================================
22
add_library(ANN STATIC
3-
include/ANN/ANN.h
4-
include/ANN/ANNperf.h
5-
include/ANN/ANNx.h
63
src/ANN.cpp
74
src/bd_fix_rad_search.cpp
85
src/bd_pr_search.cpp
@@ -28,6 +25,8 @@ add_library(ANN STATIC
2825
src/pr_queue_k.h
2926
)
3027

28+
set_target_properties(ANN PROPERTIES PUBLIC_HEADER "include/ANN/ANN.h;include/ANN/ANNperf.h;include/ANN/ANNx.h")
29+
3130
#==============================================================================
3231
# TARGET DEFINITION
3332
#==============================================================================
@@ -42,4 +41,5 @@ install(TARGETS ANN
4241
EXPORT GMDS_SUITE
4342
DESTINATION ${CMAKE_INSTALL_LIBDIR}
4443
INCLUDES DESTINATION include
44+
PUBLIC_HEADER DESTINATION include/ANN
4545
)

0 commit comments

Comments
 (0)