From 91d7df12ee6bb500c5a7c7985cb82780c03c0ab0 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Mon, 17 Jun 2013 18:00:38 +0000 Subject: CMake / vc2010: * Remove vc2010 support from cmake. There is some "if(MSVC10)" left in extern - ceres, but will leave that for Sergey. :) --- CMakeLists.txt | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 39b75d9a32b..b7957badcd9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1199,12 +1199,7 @@ elseif(WIN32) endif() if(WITH_PYTHON) - # normally cached but not since we include them with blender - if(MSVC10) - set(PYTHON_VERSION 3.3) # CACHE STRING) - else() - set(PYTHON_VERSION 3.3) # CACHE STRING) - endif() + set(PYTHON_VERSION 3.3) # CACHE STRING) set_lib_path(PYTHON "python") string(REPLACE "." "" _PYTHON_VERSION_NO_DOTS ${PYTHON_VERSION}) @@ -1228,10 +1223,6 @@ elseif(WIN32) set(BOOST_LIBPATH ${BOOST}/lib) set(BOOST_POSTFIX "vc110-mt-s-1_53.lib") set(BOOST_DEBUG_POSTFIX "vc110-mt-sgd-1_53.lib") - elseif(MSVC10) - set(BOOST_LIBPATH ${BOOST}/vc2010/lib) - set(BOOST_POSTFIX "vc100-mt-s-1_49.lib") - set(BOOST_DEBUG_POSTFIX "vc100-mt-sgd-1_49.lib") else() set(BOOST_LIBPATH ${BOOST}/lib) set(BOOST_POSTFIX "vc90-mt-s-1_49.lib") @@ -2084,13 +2075,6 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "Intel") endif() -# MSVC2010 fails to links C++ libs right -if(MSVC10) - if(WITH_OPENCOLLADA) - message(WARNING "MSVC 2010 does not support OpenCollada, disabling WITH_OPENCOLLADA. To enable support use Use MSVC 2008") - endif() -endif() - # ensure python header is found since detection can fail, this could happen # with _any_ library but since we used a fixed python version this tends to # be most problematic. -- cgit v1.2.3