mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
Add conf to CMakeLists.txt
Former-commit-id: 06d485991e06efb84e54e7ba6bbd0ae650442a59
This commit is contained in:
parent
c250d00385
commit
03d5d3f2c0
@ -43,13 +43,17 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/" ${CMAKE_MODUL
|
||||
|
||||
set(VECWISE_ENGINE_INCLUDE ${PROJECT_SOURCE_DIR}/include)
|
||||
set(VECWISE_ENGINE_SRC ${PROJECT_SOURCE_DIR}/src)
|
||||
set(VECWISE_THIRD_PARTY ${CMAKE_CURRENT_SOURCE_DIR}/third_party/build)
|
||||
set(VECWISE_THIRD_PARTY ${CMAKE_CURRENT_SOURCE_DIR}/third_party)
|
||||
set(VECWISE_THIRD_PARTY_BUILD ${CMAKE_CURRENT_SOURCE_DIR}/third_party/build)
|
||||
|
||||
add_compile_definitions(PROFILER=${PROFILER})
|
||||
|
||||
include_directories(${VECWISE_ENGINE_INCLUDE})
|
||||
include_directories(${VECWISE_ENGINE_SRC})
|
||||
include_directories(${VECWISE_THIRD_PARTY}/include)
|
||||
include_directories(${VECWISE_THIRD_PARTY_BUILD}/include)
|
||||
|
||||
execute_process(COMMAND bash build.sh
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/third_party)
|
||||
|
||||
add_subdirectory(src)
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
#-------------------------------------------------------------------------------
|
||||
link_directories(
|
||||
"${CMAKE_BINARY_DIR}/lib"
|
||||
"${VECWISE_THIRD_PARTY}/lib"
|
||||
"${VECWISE_THIRD_PARTY_BUILD}/lib"
|
||||
)
|
||||
|
||||
set(unittest_srcs
|
||||
|
Loading…
Reference in New Issue
Block a user