We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc10ec7 commit 6be53e6Copy full SHA for 6be53e6
CMakeLists.txt
@@ -26,6 +26,13 @@ set(test_dir "${CMAKE_SOURCE_DIR}/test")
26
set(include_dir "${CMAKE_SOURCE_DIR}/include")
27
set(submodules_dir "${CMAKE_SOURCE_DIR}/submodules")
28
29
+if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
30
+ # Disable PSABI warnings in GCC (on RPi).
31
+ list(APPEND CXX_FLAG_SET "-Wno-psabi")
32
+endif()
33
+
34
+add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:${CXX_FLAG_SET}>")
35
36
# clang-format
37
find_program(clang_format NAMES clang-format)
38
if (NOT clang_format)
0 commit comments