diff --git a/cmake/rocksdb.cmake b/cmake/rocksdb.cmake index 0c9c201ea34..e57a12fe94a 100644 --- a/cmake/rocksdb.cmake +++ b/cmake/rocksdb.cmake @@ -23,6 +23,10 @@ if (DISABLE_JEMALLOC) set(COMPILE_WITH_JEMALLOC OFF) endif() +if (NOT PORTABLE) + set(PORTABLE 0) +endif() + include(cmake/utils.cmake) FetchContent_DeclareGitHubWithMirror(rocksdb