Skip to content

Commit e94a55c

Browse files
authored
Merge pull request #470 from LIHPC-Computational-Geometry/ann_public_headers_installation
added ANN headers to the installation directory
2 parents 7980aa7 + 712f5fd commit e94a55c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

external/ANN/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#==============================================================================
22
add_library(ANN STATIC
3-
include/ANN/ANN.h
3+
include/ANN/ANN.h
44
include/ANN/ANNperf.h
55
include/ANN/ANNx.h
66
src/ANN.cpp
@@ -28,6 +28,8 @@ add_library(ANN STATIC
2828
src/pr_queue_k.h
2929
)
3030

31+
set_target_properties(ANN PROPERTIES PUBLIC_HEADER "include/ANN/ANN.h;include/ANN/ANNperf.h;include/ANN/ANNx.h")
32+
3133
#==============================================================================
3234
# TARGET DEFINITION
3335
#==============================================================================
@@ -42,4 +44,5 @@ install(TARGETS ANN
4244
EXPORT GMDS_SUITE
4345
DESTINATION ${CMAKE_INSTALL_LIBDIR}
4446
INCLUDES DESTINATION include
47+
PUBLIC_HEADER DESTINATION include/ANN
4548
)

0 commit comments

Comments
 (0)