1
0
mirror of synced 2024-11-28 01:20:51 +01:00

build: Disable unknown pragmas warning

This commit is contained in:
WerWolv 2024-02-29 21:49:36 +01:00
parent 667b940feb
commit fdaa56fd86

View File

@ -506,7 +506,7 @@ macro(setupCompilerFlags target)
set(IMHEX_CXX_FLAGS "-fexceptions -frtti")
# Disable some warnings
set(IMHEX_C_CXX_FLAGS "-Wno-unknown-warning-option -Wno-array-bounds -Wno-deprecated-declarations")
set(IMHEX_C_CXX_FLAGS "-Wno-unknown-warning-option -Wno-array-bounds -Wno-deprecated-declarations -Wno-unknown-pragmas")
endif()
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")