diff options
| author | SerHack <hi@serhack.me> | 2021-12-19 02:11:09 -0800 |
|---|---|---|
| committer | SerHack <support@monerointegrations.com> | 2021-12-19 03:16:53 -0800 |
| commit | 6366187cf3245b2af6257515afb7faa43d18bada (patch) | |
| tree | 129e43c3db3a3b895cdc32ea23e4821014ef017a | |
| parent | 319b831e65437f1c8e5ff4b4cb9be03f091f6fc6 (diff) | |
| download | monzero-core-6366187cf3245b2af6257515afb7faa43d18bada.tar.gz monzero-core-6366187cf3245b2af6257515afb7faa43d18bada.tar.xz monzero-core-6366187cf3245b2af6257515afb7faa43d18bada.zip | |
Fixed warnings for Clang (used as CMAKE_CXX compiler)
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d510b853..20b356808 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -764,7 +764,7 @@ else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ARCH_FLAG}") set(WARNINGS "-Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized") - if(CMAKE_C_COMPILER_ID MATCHES "Clang") + if(CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") if(ARM) set(WARNINGS "${WARNINGS} -Wno-error=inline-asm") endif() |
