2018-11-02 11:47:44 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2019-04-04 13:15:26 +08:00
|
|
|
index 1bae9a7..0303186 100644
|
2018-11-02 11:47:44 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2019-04-04 13:15:26 +08:00
|
|
|
@@ -53,7 +53,7 @@ option(WITH_WINDOWS_UTF8_FILENAMES "use UTF8 as characterset for opening files,
|
|
|
|
if (WITH_WINDOWS_UTF8_FILENAMES)
|
|
|
|
add_definitions(-DROCKSDB_WINDOWS_UTF8_FILENAMES)
|
|
|
|
endif()
|
2018-11-02 11:47:44 +08:00
|
|
|
-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)
|