diff --git a/cmake/flags.cmake b/cmake/flags.cmake index a84769d56b6387ebb2305cb6b6e7543108198d54..343e44ab4bc21c1a656048b675062f1b897bbc77 100644 --- a/cmake/flags.cmake +++ b/cmake/flags.cmake @@ -157,7 +157,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 10.0.0 + # 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)