We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3e7edd commit e067c59Copy full SHA for e067c59
src/CMakeLists.txt
@@ -8,6 +8,9 @@ else ()
8
LINK_FLAGS "-flto -Wl,-rpath=$ORIGIN"
9
OUTPUT_NAME graphvite)
10
11
- target_link_libraries(graphvite pthread curand glog.so faiss.so)
+ target_link_libraries(graphvite pthread curand glog.so)
12
+ if (FAISS_LIBRARY)
13
+ target_link_libraries(graphvite faiss.so)
14
+ endif()
15
target_compile_options(graphvite PRIVATE "-Xcompiler=-fno-fat-lto-objects") # -flto
16
endif ()
0 commit comments