mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 02:19:02 +08:00
14 lines
503 B
Diff
14 lines
503 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 1bae9a7..0303186 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -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()
|
|
-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)
|