blob: 8b465ae47e1faf141744ec5a287e0af70405fbe7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff --git a/similarity_search/CMakeLists.txt b/similarity_search/CMakeLists.txt
index 1451b30..a9f1616 100644
--- a/similarity_search/CMakeLists.txt
+++ b/similarity_search/CMakeLists.txt
@@ -109,9 +109,6 @@ if (WITH_EXTRAS)
message (FATAL_ERROR "Could not locate GSL.")
endif (GSL_FOUND)
- include_directories (${PROJECT_SOURCE_DIR}/lshkit/include)
- add_subdirectory (lshkit)
-
find_package(Eigen3 3 REQUIRED)
if (EIGEN3_FOUND)
message (STATUS "Found Eigen3.")
@@ -139,6 +136,8 @@ if (WITH_EXTRAS)
else ()
message (FATAL_ERROR "Could not locate BOOST.")
endif ()
+
+ add_subdirectory (lshkit)
endif()
add_subdirectory (src)
|