mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 04:50:34 +08:00
[rocksdb] Disable optional dependencies to improve reliability.
This commit is contained in:
parent
d5ca663039
commit
4bf7b42571
@ -1,4 +1,4 @@
|
||||
Source: rocksdb
|
||||
Version: 5.10.4
|
||||
Version: 5.10.4-1
|
||||
Description: A library that provides an embeddable, persistent key-value store for fast storage
|
||||
Build-Depends: snappy, lz4, gflags, zlib, gtest
|
||||
Build-Depends: snappy, lz4, zlib, gtest
|
||||
|
@ -1,7 +1,5 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
find_program(GIT git)
|
||||
|
||||
if(NOT VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
||||
message(FATAL_ERROR "Rocksdb only supports x64")
|
||||
endif()
|
||||
@ -35,7 +33,6 @@ vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DGIT_EXECUTABLE=${GIT}
|
||||
-DGFLAGS=1
|
||||
-DSNAPPY=1
|
||||
-DLZ4=1
|
||||
@ -48,6 +45,10 @@ vcpkg_configure_cmake(
|
||||
-DROCKSDB_DISABLE_INSTALL_STATIC_LIB=${ROCKSDB_DISABLE_INSTALL_STATIC_LIB}
|
||||
-DROCKSDB_VERSION=5.10.3
|
||||
-DCURRENT_INSTALLED_DIR=${CURRENT_INSTALLED_DIR}
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_TBB=TRUE
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_NUMA=TRUE
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_gtest=TRUE
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
Loading…
Reference in New Issue
Block a user