diff --git a/CMakeModules/FindCOLLADA.cmake b/CMakeModules/FindCOLLADA.cmake index 9c853dec9..6190c5f03 100644 --- a/CMakeModules/FindCOLLADA.cmake +++ b/CMakeModules/FindCOLLADA.cmake @@ -29,9 +29,12 @@ IF(APPLE) ELSEIF(MINGW) SET(COLLADA_BUILDNAME "mingw") SET(COLLADA_BOOST_BUILDNAME ${COLLADA_BUILDNAME}) -ELSEIF((MSVC_VERSION GREATER 1900) OR (MSVC_VERSION EQUAL 1900)) +ELSEIF(MSVC_VERSION GREATER_EQUAL 1910) SET(COLLADA_BUILDNAME "vc14") - SET(COLLADA_BOOST_BUILDNAME "vc140") + SET(COLLADA_BOOST_BUILDNAME "vc141") +ELSEIF(MSVC_VERSION EQUAL 1900) + SET(COLLADA_BUILDNAME "vc14") + SET(COLLADA_BOOST_BUILDNAME "vc140") ELSEIF(MSVC_VERSION EQUAL 1800) SET(COLLADA_BUILDNAME "vc12") SET(COLLADA_BOOST_BUILDNAME "vc120")