aboutsummaryrefslogtreecommitdiff
path: root/ports/rocksdb/use-find-package.patch
blob: 1a79c2286622b994d108f08a21a394ad10483223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f3ac9ce..931e9f2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,7 +45,7 @@ option(WITH_JEMALLOC "build with JeMalloc" OFF)
 option(WITH_SNAPPY "build with SNAPPY" OFF)
 option(WITH_LZ4 "build with lz4" OFF)
 option(WITH_ZLIB "build with zlib" OFF)
-if(MSVC)
+if(MSVC AND NOT VCPKG_TOOLCHAIN)
   # Defaults currently different for GFLAGS.
   #  We will address find_package work a little later
   option(WITH_GFLAGS "build with GFlags" OFF)