From 8bd4d9ef498c4919c94d4d0e846ead2159007326 Mon Sep 17 00:00:00 2001 From: Emil Knabe Date: Sat, 23 Mar 2019 13:14:24 +0100 Subject: [PATCH] Updating DAE support for vc141 (VisualStudio2017), aligned with 3rdParty package --- CMakeModules/FindCOLLADA.cmake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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")