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.
"
This commit is contained in:
Robert Osfield 2011-07-21 08:52:02 +00:00
parent f07a1a91c8
commit eb72bd6556

View File

@ -16,7 +16,7 @@ ELSEIF(MSVC80)
SET(FBX_LIBDIR "vs2005") SET(FBX_LIBDIR "vs2005")
ELSEIF(MSVC90) ELSEIF(MSVC90)
SET(FBX_LIBDIR "vs2008") SET(FBX_LIBDIR "vs2008")
ELSEIF(MSVC100 OR MSVC_VER>1600) ELSEIF(MSVC10 OR MSVC_VERSION>1600)
SET(FBX_LIBDIR "vs2010") SET(FBX_LIBDIR "vs2010")
ENDIF() ENDIF()