diff --git a/src/Mod/Path/App/CMakeLists.txt b/src/Mod/Path/App/CMakeLists.txt index 0816c7d077..8a17381fc1 100644 --- a/src/Mod/Path/App/CMakeLists.txt +++ b/src/Mod/Path/App/CMakeLists.txt @@ -2,6 +2,9 @@ if(MSVC) add_definitions(-DHAVE_ACOSH -DHAVE_ASINH -DHAVE_ATANH) else(MSVC) add_definitions(-DHAVE_LIMITS_H -DHAVE_CONFIG_H) + if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") + add_definitions(-fext-numeric-literals) #fix for gcc and qt5 + endif() endif(MSVC)