We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0489b8e commit cca1634Copy full SHA for cca1634
tests/core/algorithm/hnsw_rabitq/CMakeLists.txt
@@ -1,5 +1,5 @@
1
-include(${CMAKE_SOURCE_DIR}/cmake/bazel.cmake)
2
-include(${CMAKE_SOURCE_DIR}/cmake/option.cmake)
+include(${PROJECT_ROOT_DIR}/cmake/bazel.cmake)
+include(${PROJECT_ROOT_DIR}/cmake/option.cmake)
3
4
if(APPLE)
5
set(APPLE_FRAMEWORK_LIBS
@@ -27,7 +27,7 @@ foreach(CC_SRCS ${ALL_TEST_SRCS})
27
${CMAKE_THREAD_LIBS_INIT}
28
${CMAKE_DL_LIBS}
29
SRCS ${CC_SRCS}
30
- INCS . ${CMAKE_SOURCE_DIR}/src/core ${CMAKE_SOURCE_DIR}/src/core/algorithm/hnsw_rabitq
+ INCS . ${PROJECT_ROOT_DIR}/src/core ${PROJECT_ROOT_DIR}/src/core/algorithm/hnsw_rabitq
31
LDFLAGS ${APPLE_FRAMEWORK_LIBS}
32
)
33
cc_test_suite(hnsw_rabitq ${CC_TARGET})
0 commit comments