diff options
| -rw-r--r-- | kde-modules/KDECompilerSettings.cmake | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake index ba9b03f1..a4683b04 100644 --- a/kde-modules/KDECompilerSettings.cmake +++ b/kde-modules/KDECompilerSettings.cmake @@ -123,6 +123,8 @@ endif()  # Pick sensible versions of the C and C++ standards  # FIXME: MSVC, Intel on windows?  if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") +    # We use the C89 standard because that is what is common to all our +    # compilers (in particular, MSVC 2010 does not support C99)      set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS} -std=iso9899:1990")      set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")  elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel" AND NOT WIN32) | 
