mirror of https://gitee.com/bigwinds/arangodb
Make rocksdb portable on windows by default (#2972)
This commit is contained in:
parent
27b1ff52f0
commit
6c3bc05419
|
@ -26,6 +26,10 @@ endif ()
|
|||
# snappy settings
|
||||
#set(SNAPPY_HOME ${CMAKE_SOURCE_DIR}/3rdParty/snappy/google-snappy-d53de18/)
|
||||
|
||||
if (WIN32)
|
||||
option(PORTABLE_ROCKSDB "enable portable rocksdb build (disabling might yield better performance but break portability)" On)
|
||||
set(PORTABLE ${PORTABLE_ROCKSDB})
|
||||
endif ()
|
||||
#if (WIN32)
|
||||
# set(SNAPPY 1 CACHE BOOL "enable snappy")
|
||||
# set(SNAPPY_INCLUDE ${SNAPPY_HOME};${CMAKE_BINARY_DIR}/3rdParty/snappy/google-snappy-d53de18/)
|
||||
|
|
Loading…
Reference in New Issue