mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 18:37:52 +08:00
24 lines
858 B
Diff
24 lines
858 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 94c8389f96..d4d533301a 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -192,12 +192,12 @@ IF(MSVC)
|
||
|
# SET(CMAKE_CXX_FLAGS_DEBUG "/DEBUG /Od /Zi")
|
||
|
add_compile_options("/bigobj")
|
||
|
ELSE()
|
||
|
- SET(CMAKE_C_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
|
||
|
- SET(CMAKE_CXX_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
|
||
|
- SET(CMAKE_C_FLAGS_DISTRIBUTION "-O2")
|
||
|
- SET(CMAKE_CXX_FLAGS_DISTRIBUTION "-O2")
|
||
|
- SET(CMAKE_C_FLAGS_DEBUG "-g")
|
||
|
- SET(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||
|
+ #SET(CMAKE_C_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
|
||
|
+ #SET(CMAKE_CXX_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
|
||
|
+ #SET(CMAKE_C_FLAGS_DISTRIBUTION "-O2")
|
||
|
+ #SET(CMAKE_CXX_FLAGS_DISTRIBUTION "-O2")
|
||
|
+ #SET(CMAKE_C_FLAGS_DEBUG "-g")
|
||
|
+ #SET(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||
|
ENDIF()
|
||
|
|
||
|
OPTION(ENABLE_COVERAGE "Enable code coverage" OFF)
|