mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 12:08:06 +08:00
This reverts commit 2cb2e4d718be303e502b04b759b2108c47aaca31.
This commit is contained in:
parent
2cb2e4d718
commit
0a5c27a823
@ -1,13 +1,13 @@
|
|||||||
diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake
|
diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake
|
||||||
index 99725b7..3c25b0a 100644
|
index 777b91e..75a13c9 100644
|
||||||
--- a/googletest/cmake/internal_utils.cmake
|
--- a/googletest/cmake/internal_utils.cmake
|
||||||
+++ b/googletest/cmake/internal_utils.cmake
|
+++ b/googletest/cmake/internal_utils.cmake
|
||||||
@@ -66,7 +66,7 @@ macro(config_compiler_and_linker)
|
@@ -55,7 +55,7 @@ macro(config_compiler_and_linker)
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
# Newlines inside flags variables break CMake's NMake generator.
|
# Newlines inside flags variables break CMake's NMake generator.
|
||||||
# TODO(vladl@google.com): Add -RTCs and -RTCu to debug builds.
|
# TODO(vladl@google.com): Add -RTCs and -RTCu to debug builds.
|
||||||
- set(cxx_base_flags "-GS -W4 -WX -wd4251 -wd4275 -nologo -J -Zi")
|
- set(cxx_base_flags "-GS -W4 -WX -wd4251 -wd4275 -nologo -J -Zi")
|
||||||
+ set(cxx_base_flags "-GS -W4 -WX -wd4251 -wd4275 -nologo -J")
|
+ set(cxx_base_flags "-GS -W4 -WX -wd4251 -wd4275 -nologo -J")
|
||||||
set(cxx_base_flags "${cxx_base_flags} -D_UNICODE -DUNICODE -DWIN32 -D_WIN32")
|
if (MSVC_VERSION LESS 1400) # 1400 is Visual Studio 2005
|
||||||
set(cxx_base_flags "${cxx_base_flags} -DSTRICT -DWIN32_LEAN_AND_MEAN")
|
# Suppress spurious warnings MSVC 7.1 sometimes issues.
|
||||||
set(cxx_exception_flags "-EHsc -D_HAS_EXCEPTIONS=1")
|
# Forcing value to bool.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user