From 1cbaadd7b2bbe4097f73a472f4af18c6ff8f4ecd Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 22 Nov 2010 17:39:43 +0000 Subject: [PATCH] From Michael Platings, "the attached cmake file recognises the latest version of the FBX SDK, and now works correctly on 64 bit Windows." --- CMakeModules/FindFBX.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeModules/FindFBX.cmake b/CMakeModules/FindFBX.cmake index 46a985e93..e9e0b4c53 100644 --- a/CMakeModules/FindFBX.cmake +++ b/CMakeModules/FindFBX.cmake @@ -35,11 +35,16 @@ ELSE() ENDIF() # SET final path -#osg_fbx code is compatible with 2011.2 and 2011.3 so find either directory +#osg_fbx code is compatible with 2011.2, 2011.3 and 2011.3.1 so find any directory SET( FBX_SEARCH_PATHS $ENV{FBX_DIR} + $ENV{ProgramW6432}/Autodesk/FBX/FbxSdk/2011.3.1 + $ENV{PROGRAMFILES}/Autodesk/FBX/FbxSdk/2011.3.1 + /Applications/Autodesk/FBXSDK201131 + $ENV{ProgramW6432}/Autodesk/FBX/FbxSdk/2011.3 $ENV{PROGRAMFILES}/Autodesk/FBX/FbxSdk/2011.3 /Applications/Autodesk/FBXSDK20113 + $ENV{ProgramW6432}/Autodesk/FBX/FbxSdk/2011.2 $ENV{PROGRAMFILES}/Autodesk/FBX/FbxSdk/2011.2 /Applications/Autodesk/FBXSDK20112 )