mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 17:09:54 +08:00
85cab47ea4
1. upgrade to 1.0.61 2. disable warning as error temply(fix https://github.com/Microsoft/vcpkg/issues/629 before https://github.com/aws/aws-sdk-cpp/issues/438) 3. using cmake file(append) instead of patch to define #define USE_IMPORT_EXPORT in SDKConfig.h (simplified code)
14 lines
526 B
Diff
14 lines
526 B
Diff
diff --git a/cmake/compiler_settings.cmake b/cmake/compiler_settings.cmake
|
|
index 36795a2..77334ee 100644
|
|
--- a/cmake/compiler_settings.cmake
|
|
+++ b/cmake/compiler_settings.cmake
|
|
@@ -57,7 +57,7 @@ endif()
|
|
if(MSVC)
|
|
# warnings as errors, max warning level (4)
|
|
if(NOT CMAKE_CXX_FLAGS MATCHES "/WX")
|
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
|
|
+ #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
|
|
endif()
|
|
|
|
# taken from http://stackoverflow.com/questions/2368811/how-to-set-warning-level-in-cmake
|