summaryrefslogtreecommitdiffstats
path: root/cmake/modules/BuildRocksDB.cmake
diff options
context:
space:
mode:
authorIgor Fedotov <ifedotov@suse.com>2018-05-28 22:00:42 +0200
committerIgor Fedotov <ifedotov@suse.com>2018-05-28 22:00:42 +0200
commit83841bf3de4f664df1c5b1b7997861acf2ede767 (patch)
tree1c07fff9ec164b74d77cef850fc064c3f2d1ca26 /cmake/modules/BuildRocksDB.cmake
parentMerge PR #22261 into master (diff)
downloadceph-83841bf3de4f664df1c5b1b7997861acf2ede767.tar.xz
ceph-83841bf3de4f664df1c5b1b7997861acf2ede767.zip
build/cmake: enable RTTI for both debug and release RocksDB builds.
Overwise ceph build in Release mode is failing. Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Diffstat (limited to 'cmake/modules/BuildRocksDB.cmake')
-rw-r--r--cmake/modules/BuildRocksDB.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/BuildRocksDB.cmake b/cmake/modules/BuildRocksDB.cmake
index 71a1e2a1a2c..1c1a257b2e3 100644
--- a/cmake/modules/BuildRocksDB.cmake
+++ b/cmake/modules/BuildRocksDB.cmake
@@ -20,6 +20,7 @@ function(do_build_rocksdb)
list(APPEND ROCKSDB_CMAKE_ARGS -DCMAKE_AR=${CMAKE_AR})
list(APPEND ROCKSDB_CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE})
list(APPEND ROCKSDB_CMAKE_ARGS -DFAIL_ON_WARNINGS=OFF)
+ list(APPEND ROCKSDB_CMAKE_ARGS -DUSE_RTTI=1)
# we use an external project and copy the sources to bin directory to ensure
# that object files are built outside of the source tree.