summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mat M2019-05-14 06:34:05 -0400
committerGravatar GitHub2019-05-14 06:34:05 -0400
commit3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b (patch)
tree9e430704da59c4907913cb88a20f5722d9b870e7
parentMerge pull request #2413 from FernandoS27/opt-gpu (diff)
parentCMakeLists: Explicitly specify -Wall for the non-MSVC case (diff)
downloadyuzu-3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b.tar.gz
yuzu-3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b.tar.xz
yuzu-3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b.zip
Merge pull request #2450 from lioncash/warn-level
CMakeLists: Explicitly specify -Wall for the non-MSVC case
-rw-r--r--src/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a1d87bbbc..3f781a547 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -49,7 +49,10 @@ if (MSVC)
49 set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/DEBUG /MANIFEST:NO" CACHE STRING "" FORCE) 49 set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/DEBUG /MANIFEST:NO" CACHE STRING "" FORCE)
50 set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE) 50 set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)
51else() 51else()
52 add_compile_options("-Wno-attributes") 52 add_compile_options(
53 -Wall
54 -Wno-attributes
55 )
53 56
54 if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) 57 if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)
55 add_compile_options("-stdlib=libc++") 58 add_compile_options("-stdlib=libc++")