From f85c7cedd05fddab852ff3e154b47bb249b54358 Mon Sep 17 00:00:00 2001 From: git-hulk Date: Wed, 5 Jul 2023 09:07:38 +0800 Subject: [PATCH] Fix compile error after upgrading the rocksdb --- cmake/rocksdb.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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