Squelch attribute warnings from the GNU compiler (issue #2552)

This commit is contained in:
Tyler Johnson
2019-02-06 20:48:09 +00:00
committed by Marshall Greenblatt
parent a72e00a7b9
commit 84a5749f9f

View File

@@ -169,6 +169,12 @@ if(OS_LINUX)
)
endif()
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
list(APPEND CEF_CXX_COMPILER_FLAGS
-Wno-attributes # The cfi-icall attribute is not supported by the GNU C++ compiler
)
endif()
if(PROJECT_ARCH STREQUAL "x86_64")
# 64-bit architecture.
list(APPEND CEF_COMPILER_FLAGS