From 1ee5eb186eca7991e78f5c4b248b57739dfb7ae9 Mon Sep 17 00:00:00 2001 From: aquiles Date: Tue, 2 Nov 2010 13:46:18 +0100 Subject: [PATCH] Changed: Altered the CMakeList definition for Find3dsMaxSDK.cmake --- code/CMakeModules/Find3dsMaxSDK.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/CMakeModules/Find3dsMaxSDK.cmake b/code/CMakeModules/Find3dsMaxSDK.cmake index 7e4b1d2ab..52c4cc011 100644 --- a/code/CMakeModules/Find3dsMaxSDK.cmake +++ b/code/CMakeModules/Find3dsMaxSDK.cmake @@ -16,7 +16,8 @@ find_path(MAXSDK_INCLUDE_DIR max.h "$ENV{PROGRAMFILES}/Autodesk/3ds Max 2009 SDK/maxsdk/include" "$ENV{PROGRAMFILES}/Autodesk/3ds Max 2008 SDK/maxsdk/include" "$ENV{PROGRAMFILES}/Autodesk/3ds Max 9 SDK/maxsdk/include" -) + "$ENV{3DSMAX_2011_SDK_PATH}/maxsdk/include" +) find_path(MAXSDK_CS_INCLUDE_DIR bipexp.h PATHS @@ -24,6 +25,7 @@ find_path(MAXSDK_CS_INCLUDE_DIR bipexp.h "$ENV{PROGRAMFILES}/Autodesk/3ds Max 2009 SDK/maxsdk/include/CS" "$ENV{PROGRAMFILES}/Autodesk/3ds Max 2008 SDK/maxsdk/include/CS" "$ENV{PROGRAMFILES}/Autodesk/3ds Max 9 SDK/maxsdk/include/CS" + "$ENV{3DSMAX_2011_SDK_PATH}/maxsdk/include/CS" ) MACRO(FIND_3DS_LIBRARY MYLIBRARY MYLIBRARYNAME) @@ -34,6 +36,7 @@ MACRO(FIND_3DS_LIBRARY MYLIBRARY MYLIBRARYNAME) "$ENV{PROGRAMFILES}/Autodesk/3ds Max 2009 SDK/maxsdk/lib" "$ENV{PROGRAMFILES}/Autodesk/3ds Max 2008 SDK/maxsdk/lib" "$ENV{PROGRAMFILES}/Autodesk/3ds Max 9 SDK/maxsdk/lib" + "$ENV{3DSMAX_2011_SDK_PATH}/maxsdk/lib" ) ENDMACRO(FIND_3DS_LIBRARY MYLIBRARY MYLIBRARYNAME)