From eb72bd65562e60c6c503dbe252f0b019187fad53 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 21 Jul 2011 08:52:02 +0000 Subject: [PATCH] From Wang Rui, "This fixes a small problem in the FindFBX file. In CMake scripts, VS2010 is not marked as MSVC100 but MSVC10. And CMake defines MSVC_VERSION instead of MSVC_VER to indicate the version number. The modification can find fbx sdk for VS2010 automatically now. " --- CMakeModules/FindFBX.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeModules/FindFBX.cmake b/CMakeModules/FindFBX.cmake index b2b4fe015..532970c91 100644 --- a/CMakeModules/FindFBX.cmake +++ b/CMakeModules/FindFBX.cmake @@ -16,7 +16,7 @@ ELSEIF(MSVC80) SET(FBX_LIBDIR "vs2005") ELSEIF(MSVC90) SET(FBX_LIBDIR "vs2008") -ELSEIF(MSVC100 OR MSVC_VER>1600) +ELSEIF(MSVC10 OR MSVC_VERSION>1600) SET(FBX_LIBDIR "vs2010") ENDIF()