mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 19:08:30 +08:00
mkdir zstd include directory
Former-commit-id: 43f3350691d15bb2541ac0ba1b6287b9f5171a0a
This commit is contained in:
parent
bb93daef2f
commit
0f53637075
@ -2040,8 +2040,6 @@ macro(build_zstd)
|
||||
"${ZSTD_STATIC_LIB}")
|
||||
|
||||
ExternalProject_Create_Cache(zstd_ep ${ZSTD_CACHE_PACKAGE_PATH} "${CMAKE_CURRENT_BINARY_DIR}/zstd_ep-prefix" ${JFROG_USER_NAME} ${JFROG_PASSWORD} ${ZSTD_CACHE_URL})
|
||||
|
||||
file(MAKE_DIRECTORY "${ZSTD_INCLUDE_DIR}")
|
||||
else()
|
||||
ExternalProject_Use_Cache(zstd_ep ${ZSTD_CACHE_PACKAGE_PATH} ${CMAKE_CURRENT_BINARY_DIR})
|
||||
endif()
|
||||
@ -2061,10 +2059,9 @@ macro(build_zstd)
|
||||
${ZSTD_SOURCE_URL}
|
||||
BUILD_BYPRODUCTS
|
||||
"${ZSTD_STATIC_LIB}")
|
||||
|
||||
file(MAKE_DIRECTORY "${ZSTD_INCLUDE_DIR}")
|
||||
endif()
|
||||
|
||||
file(MAKE_DIRECTORY "${ZSTD_INCLUDE_DIR}")
|
||||
add_library(zstd STATIC IMPORTED)
|
||||
set_target_properties(zstd
|
||||
PROPERTIES IMPORTED_LOCATION "${ZSTD_STATIC_LIB}"
|
||||
|
Loading…
Reference in New Issue
Block a user