Browse Source

Initial MSVC 2015 support in CMake.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
11208cef20
  1. 4
      CMakeLists.txt

4
CMakeLists.txt

@ -128,7 +128,9 @@ endif()
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.7.0")
message(FATAL_ERROR "Compatibility branch of Magnum is needed for use with GCC < 4.7. See the documentation for more information.")
elseif(MSVC)
message(FATAL_ERROR "Compatibility branch of Magnum is needed for use with MSVC. See the documentation for more information.")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "19.0")
message(FATAL_ERROR "Compatibility branch of Magnum is needed for use with MSVC < 2015. See the documentation for more information.")
endif()
endif()
# If targeting NaCl, set explicit OpenGL ES 2.0 support. For Android and

Loading…
Cancel
Save