mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 19:59:05 +08:00
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.
This commit is contained in:
parent
728c993bc4
commit
2f4a723ed4
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user