Browse Source

Ignore GCC-specific false positives about attributes

master
Giel van Schijndel 1 year ago
parent
commit
dafe0a8912
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      CMakeLists.txt

+ 5
- 0
CMakeLists.txt View File

@@ -40,6 +40,11 @@ if(UNIX AND (
set(CMAKE_CXX_FLAGS "-fdiagnostics-color=always ${CMAKE_CXX_FLAGS}" CACHE STRING "" FORCE)
endif()

if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# Ignore GCC-specific false positives about attributes
set(CMAKE_CXX_FLAGS "-Wno-attributes ${CMAKE_CXX_FLAGS}" CACHE STRING "" FORCE)
endif()

set(PUBLIC_HEADER_TOP_DIR include/awesome)
set(PUBLIC_HEADER_DIR ${PUBLIC_HEADER_TOP_DIR}/assert)
set(PUBLIC_HEADERS_TOP

Loading…
Cancel
Save