forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update 0002-Fix-z7-override.patch (microsoft#5490)
The current patch doesn't apply any more. This makes the same change to the right location.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake | ||
index 777b91e..75a13c9 100644 | ||
index 99725b7..3c25b0a 100644 | ||
--- a/googletest/cmake/internal_utils.cmake | ||
+++ b/googletest/cmake/internal_utils.cmake | ||
@@ -55,7 +55,7 @@ macro(config_compiler_and_linker) | ||
@@ -66,7 +66,7 @@ macro(config_compiler_and_linker) | ||
if (MSVC) | ||
# Newlines inside flags variables break CMake's NMake generator. | ||
# TODO([email protected]): 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") | ||
if (MSVC_VERSION LESS 1400) # 1400 is Visual Studio 2005 | ||
# Suppress spurious warnings MSVC 7.1 sometimes issues. | ||
# Forcing value to bool. | ||
set(cxx_base_flags "${cxx_base_flags} -D_UNICODE -DUNICODE -DWIN32 -D_WIN32") | ||
set(cxx_base_flags "${cxx_base_flags} -DSTRICT -DWIN32_LEAN_AND_MEAN") | ||
set(cxx_exception_flags "-EHsc -D_HAS_EXCEPTIONS=1") |