Fix CMake warning

1 job for 1.8 in 5 minutes and 48 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
failed #17305
build

00:05:48

 
Name Stage Failure
failed
build Build
       inline static int getHorizontalAdvance(const QFontMetrics &metrics, const QChar& c)
^
src/CMakeFiles/kdiff3.dir/build.make:134: recipe for target 'src/CMakeFiles/kdiff3.dir/kdiff3.cpp.o' failed
make[2]: *** [src/CMakeFiles/kdiff3.dir/kdiff3.cpp.o] Error 1
CMakeFiles/Makefile2:291: recipe for target 'src/CMakeFiles/kdiff3.dir/all' failed
make[1]: *** [src/CMakeFiles/kdiff3.dir/all] Error 2
make: *** [all] Error 2
Makefile:140: recipe for target 'all' failed
ERROR: Job failed: exit code 1