User newer compiler defs syntax in cmake when possible, re #9833
Merge branch 'bugfix/9833_cmake_deprecated_compile_definitions_warning' into develop