mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 06:39:06 +08:00
19 lines
1.1 KiB
Diff
19 lines
1.1 KiB
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 844f304..952915b 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -16,11 +16,11 @@ set(CMAKE_CXX_STANDARD 14)
|
||
|
IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||
|
SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
|
||
|
SET(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||
|
- SET(CMAKE_CXX_FLAGS "-Wall -Werror -Wextra -Wno-deprecated-register -std=c++14 -stdlib=libc++ -Wno-deprecated-register")
|
||
|
+ SET(CMAKE_CXX_FLAGS "-std=c++14 -stdlib=libc++")
|
||
|
ELSEIF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||
|
SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
|
||
|
SET(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||
|
- SET(CMAKE_CXX_FLAGS "-Wall -Werror -Wextra -std=c++14 -Wno-deprecated-declarations -ftemplate-backtrace-limit=0")
|
||
|
+ SET(CMAKE_CXX_FLAGS "-std=c++14 -ftemplate-backtrace-limit=0")
|
||
|
SET(CMAKE_CXX_FLAGS_COVERAGE "${CMAKE_CXX_FLAGS_DEBUG} --coverage -fno-inline -fno-inline-small-functions -fno-default-inline")
|
||
|
SET(CMAKE_EXE_LINKER_FLAGS_COVERAGE "${CMAKE_EXE_LINKER_FLAGS_DEBUG} --coverage")
|
||
|
SET(CMAKE_SHARED_LINKER_FLAGS_COVERAGE "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} --coverage")
|