We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb2d043 commit 43304e0Copy full SHA for 43304e0
CMakeLists.txt
@@ -156,6 +156,12 @@ if(APPLE)
156
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-nullability-completeness")
157
endif()
158
159
+if(DESKTOP)
160
+ # For desktop, disable deprecated builtins warnings, as absl-cpp uses them.
161
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-builtins")
162
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-builtins")
163
+endif()
164
+
165
if(DESKTOP AND NOT MSVC AND NOT APPLE)
166
# Linux-specific option.
167
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-maybe-uninitialized")
0 commit comments