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.
2 parents c8c9479 + fb59822 commit 627bea4Copy full SHA for 627bea4
cmake/flags.cmake
@@ -138,13 +138,17 @@ if (APPLE)
138
# On Mac OS X build fat binaries with x86_64 architectures by default.
139
set (CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "Build architectures for OSX" FORCE)
140
endif()
141
-else()
+ # On Mac OS X register class specifier is deprecated and will cause warning error on latest clang 10.0
142
+ set (COMMON_FLAGS -Wno-deprecated-register)
143
+endif(APPLE)
144
+
145
+if(LINUX)
146
set(GPU_COMMON_FLAGS
147
-Wall
148
-Wextra
149
-Werror
150
${GPU_COMMON_FLAGS})
-endif()
151
+endif(LINUX)
152
153
if(UNIX AND NOT APPLE)
154
# except apple from nix*Os family
0 commit comments