User newer compiler defs syntax in cmake when possible, re #9833
Merge remote-tracking branch 'origin/bugfix/9833_cmake_deprecated_compile_definitions_warning'