- Add install target for the faiss library and headers to the (#443)

CMakeLists.txt, so we can install the libs and headers with make
install.
pull/450/head
mohnishkodnani 2018-05-15 01:18:16 -07:00 committed by Matthijs Douze
parent 431545ee2b
commit 30a362a649
1 changed files with 5 additions and 0 deletions

View File

@ -55,3 +55,8 @@ endif(BUILD_TUTORIAL)
if(BUILD_TEST)
add_subdirectory(tests)
endif(BUILD_TEST)
# Install libraries
install(TARGETS ${faiss_lib}
ARCHIVE DESTINATION lib
)
install(FILES ${faiss_cpu_headers} DESTINATION include/faiss)