added FBX SDK 2017.1 and try to add apple (clang) support (not tested - I have no apple)
This commit is contained in:
parent
ad0e6a0f81
commit
0f899a2a1e
@ -9,7 +9,12 @@
|
|||||||
# correspond to the ./configure --prefix=$FBX_DIR
|
# correspond to the ./configure --prefix=$FBX_DIR
|
||||||
|
|
||||||
IF(APPLE)
|
IF(APPLE)
|
||||||
|
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
|
# using regular Clang or AppleClang
|
||||||
|
SET(FBX_LIBDIR "clang")
|
||||||
|
else()
|
||||||
SET(FBX_LIBDIR "gcc4/ub")
|
SET(FBX_LIBDIR "gcc4/ub")
|
||||||
|
endif()
|
||||||
ELSEIF(CMAKE_COMPILER_IS_GNUCXX)
|
ELSEIF(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
SET(FBX_LIBDIR "gcc4")
|
SET(FBX_LIBDIR "gcc4")
|
||||||
ELSEIF(MSVC80)
|
ELSEIF(MSVC80)
|
||||||
@ -55,6 +60,9 @@ SET(FBX_LIBNAME_DEBUG ${FBX_LIBNAME}d)
|
|||||||
|
|
||||||
SET( FBX_SEARCH_PATHS
|
SET( FBX_SEARCH_PATHS
|
||||||
$ENV{FBX_DIR}
|
$ENV{FBX_DIR}
|
||||||
|
"$ENV{ProgramW6432}/Autodesk/FBX/FBX SDK/2017.1"
|
||||||
|
"$ENV{PROGRAMFILES}/Autodesk/FBX/FBX SDK/2017.1"
|
||||||
|
"/Applications/Autodesk/FBX SDK/2017.1"
|
||||||
"$ENV{ProgramW6432}/Autodesk/FBX/FBX SDK/2016.1.1"
|
"$ENV{ProgramW6432}/Autodesk/FBX/FBX SDK/2016.1.1"
|
||||||
"$ENV{PROGRAMFILES}/Autodesk/FBX/FBX SDK/2016.1.1"
|
"$ENV{PROGRAMFILES}/Autodesk/FBX/FBX SDK/2016.1.1"
|
||||||
"$ENV{ProgramW6432}/Autodesk/FBX/FBX SDK/2015.1"
|
"$ENV{ProgramW6432}/Autodesk/FBX/FBX SDK/2015.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user