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.
"
remotes/origin/OpenSceneGraph-3.2
Robert Osfield 13 years ago
parent f07a1a91c8
commit eb72bd6556

@ -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()

Loading…
Cancel
Save