mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 12:49:07 +08:00
b79745ebf3
* fix -werror=return-type * update version
13 lines
540 B
Diff
13 lines
540 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 8e46275..b505ec5 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -788,7 +788,6 @@ if(NOT MSVC)
|
|
# Details at http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1459
|
|
string(APPEND CMAKE_CXX_FLAGS " -Wall")
|
|
string(APPEND CMAKE_CXX_FLAGS " -Wextra")
|
|
- string(APPEND CMAKE_CXX_FLAGS " -Werror=return-type")
|
|
string(APPEND CMAKE_CXX_FLAGS " -Wno-missing-field-initializers")
|
|
string(APPEND CMAKE_CXX_FLAGS " -Wno-type-limits")
|
|
string(APPEND CMAKE_CXX_FLAGS " -Wno-array-bounds")
|