Skip to content
Permalink
Browse files

Pass through the used CMake binary to the rocks cmake command to make…

… sure we run successfully
  • Loading branch information
brandonlehmann committed Jan 6, 2020
1 parent 51060b2 commit 1bf9c79160157494c1bac0b5faa979a2b0875357
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -310,7 +310,7 @@ add_subdirectory(src)
## We need to setup the RocksDB build environment to match our system
if (NOT MSVC)
execute_process(
COMMAND cmake ${CMAKE_CURRENT_SOURCE_DIR}/external/rocksdb -DARCH=${ARCH} -DWITH_ZSTD=${WITH_ZSTD} -DWITH_LZ4=${WITH_LZ4} -DWITH_GFLAGS=0 -DCMAKE_BUILD_TYPE=MinSizeRel -DWITH_TESTS=OFF -DWITH_TOOLS=OFF -DPORTABLE=ON -B${PROJECT_BINARY_DIR}/rocksdb
COMMAND ${CMAKE_COMMAND} ${CMAKE_CURRENT_SOURCE_DIR}/external/rocksdb -DARCH=${ARCH} -DWITH_ZSTD=${WITH_ZSTD} -DWITH_LZ4=${WITH_LZ4} -DWITH_GFLAGS=0 -DCMAKE_BUILD_TYPE=MinSizeRel -DWITH_TESTS=OFF -DWITH_TOOLS=OFF -DPORTABLE=ON -B${PROJECT_BINARY_DIR}/rocksdb
)
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${PROJECT_BINARY_DIR}/rocksdb/librocksdb.a")
endif ()

0 comments on commit 1bf9c79

Please sign in to comment.
You can’t perform that action at this time.