diff --git a/cmake/flags.cmake b/cmake/flags.cmake index 9ebc132a83182c6c0c89ce0a3c7cf8f1dcdcd26d..cf4aef71bfc1ce4d02a36d6a49c47344282593e5 100644 --- a/cmake/flags.cmake +++ b/cmake/flags.cmake @@ -138,7 +138,7 @@ if (APPLE) # On Mac OS X build fat binaries with x86_64 architectures by default. set (CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "Build architectures for OSX" FORCE) endif() - # On Mac OS X register class specifier is deprecated and will cause warning error on latest clang + # On Mac OS X register class specifier is deprecated and will cause warning error on latest clang 10.0 set (COMMON_FLAGS -Wno-deprecated-register) endif(APPLE)