diff options
author | Mat M <mathew1800@gmail.com> | 2019-05-14 12:34:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-14 12:34:05 +0200 |
commit | 3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b (patch) | |
tree | 9e430704da59c4907913cb88a20f5722d9b870e7 | |
parent | Merge pull request #2413 from FernandoS27/opt-gpu (diff) | |
parent | CMakeLists: Explicitly specify -Wall for the non-MSVC case (diff) | |
download | yuzu-3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b.tar yuzu-3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b.tar.gz yuzu-3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b.tar.bz2 yuzu-3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b.tar.lz yuzu-3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b.tar.xz yuzu-3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b.tar.zst yuzu-3e8e335a5c8af50236ad0f4cde04d6f78b10cb8b.zip |
-rw-r--r-- | src/CMakeLists.txt | 5 |
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) 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++") |