mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
1a63672f8f
* [protobuf] Update to 3.8.0 * [nlopt] set options off * [shogun] should not use CMAKE_SYSTEM_PROCESSOR in port file * [protobuf] Add Homepage * [protobuf] turn warning flag off * [protobuf] Fix orc build error on macOS * bump shogun, fix nlopt
17 lines
823 B
Diff
17 lines
823 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 4484e373..87b5ed41 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -81,9 +81,9 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|
set (WARN_FLAGS "${WARN_FLAGS} -Wno-covered-switch-default")
|
|
set (WARN_FLAGS "${WARN_FLAGS} -Wno-missing-noreturn -Wno-unknown-pragmas")
|
|
set (WARN_FLAGS "${WARN_FLAGS} -Wno-gnu-zero-variadic-macro-arguments")
|
|
- set (WARN_FLAGS "${WARN_FLAGS} -Wconversion -Werror")
|
|
+ set (WARN_FLAGS "${WARN_FLAGS} -Wconversion")
|
|
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|
- set (WARN_FLAGS "-Wall -Wno-unknown-pragmas -Wconversion -Werror")
|
|
+ set (WARN_FLAGS "-Wall -Wno-unknown-pragmas -Wconversion")
|
|
if (CMAKE_CXX_COMPILER_VERSION STREQUAL "" OR
|
|
CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.7")
|
|
set (CXX11_FLAGS "-std=c++0x")
|