- 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
parent
431545ee2b
commit
30a362a649
|
@ -55,3 +55,8 @@ endif(BUILD_TUTORIAL)
|
||||||
if(BUILD_TEST)
|
if(BUILD_TEST)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
endif(BUILD_TEST)
|
endif(BUILD_TEST)
|
||||||
|
# Install libraries
|
||||||
|
install(TARGETS ${faiss_lib}
|
||||||
|
ARCHIVE DESTINATION lib
|
||||||
|
)
|
||||||
|
install(FILES ${faiss_cpu_headers} DESTINATION include/faiss)
|
||||||
|
|
Loading…
Reference in New Issue