Merge pull request #9589 from Dentomologist/fix_no_objc_exceptions_warning CMake: Fix unused compiler flag warning