1st build attempt failed on rawhide (both i386/x86_64) and I found out -std=gnu++11 was present in compiling flags (we requested -std=c++11).
Then someone in #fedora-qa pointed me out to this bug report:
https://forum.qt.io/topic/69057/where-std-gnu-11-came-from/3
2nd build attempt was just a workaround trying to fix compilation when -std=gnu++11 is present (so the -fext-numeric-literals flag), this time build failed on rawhide x86_64.
The right fix is setting required language standard in cmake as I did ( SET(CMAKE_CXX_STANDARD 11) ),
This time build succeeds on each fedora version (and -std=gnu++11 is used).