1 diff --git a/cmake/modules/BuildRocksDB.cmake b/cmake/modules/BuildRocksDB.cmake
2 index de9748878b..4b86b36d35 100644
3 --- a/cmake/modules/BuildRocksDB.cmake
4 +++ b/cmake/modules/BuildRocksDB.cmake
5 @@ -6,10 +6,6 @@ function(build_rocksdb)
6 # CMAKE_PREFIX_PATH, for which reason we'll have to use some other separator.
7 string(REPLACE ";" "!" CMAKE_PREFIX_PATH_ALT_SEP "${CMAKE_PREFIX_PATH}")
8 list(APPEND rocksdb_CMAKE_ARGS -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH_ALT_SEP})
9 - if(CMAKE_TOOLCHAIN_FILE)
10 - list(APPEND rocksdb_CMAKE_ARGS
11 - -DCMAKE_TOOLCHAIN_FILE=$CMAKE_TOOLCHAIN_FILE)
14 if(ALLOCATOR STREQUAL "jemalloc")
15 list(APPEND rocksdb_CMAKE_ARGS -DWITH_JEMALLOC=ON)