From 2f4a723ed4dbc7c9f821a32b59ebd2286fc61b7a Mon Sep 17 00:00:00 2001 From: Peter Goodman Date: Thu, 7 Feb 2019 15:16:16 -0800 Subject: feat(rocksdb): enable RTTI (#5130) This is so that you can derive a class from things like `rocksdb::AssociativeMergeOperator`. Perhaps a more "correct" patch would be to see if rtti is enabled for other builds, and enable it here, though it's not clear to me if that's feasible, so I'm suggesting this. --- ports/rocksdb/portfile.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/rocksdb/portfile.cmake b/ports/rocksdb/portfile.cmake index 2b2013190..5f19e0a88 100644 --- a/ports/rocksdb/portfile.cmake +++ b/ports/rocksdb/portfile.cmake @@ -48,6 +48,7 @@ vcpkg_configure_cmake( -DWITH_LZ4=${WITH_LZ4} -DWITH_ZLIB=${WITH_ZLIB} -DWITH_TESTS=OFF + -DUSE_RTTI=1 -DROCKSDB_INSTALL_ON_WINDOWS=ON -DFAIL_ON_WARNINGS=OFF -DWITH_MD_LIBRARY=${WITH_MD_LIBRARY} -- cgit v1.2.3