aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Goodman <peter.goodman@gmail.com>2019-02-07 15:16:16 -0800
committerCodiferous <44823842+Codiferous@users.noreply.github.com>2019-02-07 15:16:16 -0800
commit2f4a723ed4dbc7c9f821a32b59ebd2286fc61b7a (patch)
treef7123fb02eb66ad21502399b40bb317f0cc7c427
parent728c993bc49376f4edec7238c87caf1c30e55503 (diff)
downloadvcpkg-2f4a723ed4dbc7c9f821a32b59ebd2286fc61b7a.tar.gz
vcpkg-2f4a723ed4dbc7c9f821a32b59ebd2286fc61b7a.zip
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.
-rw-r--r--ports/rocksdb/portfile.cmake1
1 files changed, 1 insertions, 0 deletions
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}