Skip to content

Commit

Permalink
feat(rocksdb): enable RTTI (#5130)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pgoodman authored and Codiferous committed Feb 7, 2019
1 parent 728c993 commit 2f4a723
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/rocksdb/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 2f4a723

Please sign in to comment.