From Michael Platings, fix for build with cmake 2.6.x

This commit is contained in:
Robert Osfield 2011-05-04 09:48:10 +00:00
parent ff99fd07f7
commit 51f921f68e

View File

@ -22,7 +22,9 @@ ENDIF()
IF(APPLE)
# do nothing
ELSEIF(CMAKE_CL_64 OR (CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SIZEOF_VOID_P EQUAL 8))
ELSEIF(CMAKE_CL_64)
SET(FBX_LIBDIR ${FBX_LIBDIR}/x64)
ELSEIF(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SIZEOF_VOID_P EQUAL 8)
SET(FBX_LIBDIR ${FBX_LIBDIR}/x64)
ELSE()
SET(FBX_LIBDIR ${FBX_LIBDIR}/x86)