cmakelists: add -Wno-address-of-temporary

This commit is contained in:
Rudolchr 2023-11-30 11:24:14 +01:00 committed by GitHub
parent eb120ff252
commit 8b2183b3a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,9 @@ include_directories(
) )
set(CMAKE_CXX_STANDARD 23) set(CMAKE_CXX_STANDARD 23)
add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -fpermissive) add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value
-Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith
-fpermissive -Wno-address-of-temporary)
message(STATUS "Checking deps...") message(STATUS "Checking deps...")
add_subdirectory(subprojects/sdbus-cpp) add_subdirectory(subprojects/sdbus-cpp)