message: Disable missing switch statements warning for clang
diff: @@ -59,6 +59,11 @@ ENDIF()
  # Set preprocessor defines
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNOMINMAX -D_USE_MATH_DEFINES")
  +# Clang specific stuff
  +if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-switch-enum")
  +endif()
  +
  add_definitions(-D_CRT_SECURE_NO_WARNINGS)
  add_definitions(-std=c++11)
  