Skip to content
Snippets Groups Projects
Unverified Commit 3e8e335a authored by Mat M's avatar Mat M Committed by GitHub
Browse files

Merge pull request #2450 from lioncash/warn-level

CMakeLists: Explicitly specify -Wall for the non-MSVC case
parents 940a7108 5d0dca73
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,10 @@ if (MSVC)
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/DEBUG /MANIFEST:NO" CACHE STRING "" FORCE)
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)
else()
add_compile_options("-Wno-attributes")
add_compile_options(
-Wall
-Wno-attributes
)
if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)
add_compile_options("-stdlib=libc++")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment