From d623720f4d0c24856ae94eb34acb42b2e27fa6d5 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Sat, 17 Apr 2021 16:26:41 +0300 Subject: [PATCH] Fix condition for -Wno-attributes (regression) --- rpcs3/cmake_modules/ConfigureCompiler.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/cmake_modules/ConfigureCompiler.cmake b/rpcs3/cmake_modules/ConfigureCompiler.cmake index 3e46563a49..72fc0e7767 100644 --- a/rpcs3/cmake_modules/ConfigureCompiler.cmake +++ b/rpcs3/cmake_modules/ConfigureCompiler.cmake @@ -59,7 +59,7 @@ else() endif() #TODO Clean the code so these are removed - if ((not ${CMAKE_CXX_COMPILER_ID} MATCHES "GNU") OR (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.1)) + if (NOT (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU") OR (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.1)) add_compile_options(-Wno-attributes) endif()