mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-05 15:56:49 +00:00
Fix condition for -Wno-attributes (regression)
This commit is contained in:
parent
9d4fcbf946
commit
d623720f4d
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user