Hi,
found out that current version of FindFBX.cmake does not manage to find the FBX 
SDK version 2018.1.1 specifically for iOS.

To my understanding the reasons are:

1) the FBX_LIBDIR is not set to any of the real folders used for the 
iOS/simulator distribution, which are "ios-armv7" and "ios-386"

2) if we search for FBX_LIBNAME such as "libfbxsdk" (without ".a") CMake fails 
to find the library (I'm using CMake version 3.10.2) even if I explicitly set 
the extensions that it should look for

3) the FBX_SEARCH_PATH is missing "/Applications/Autodesk/FBX SDK/2018.1.1"

My proposal:

A) add the correct folders to search into
B) add the ".a" extension at least for iOS to the lib base name 
C) add the missing "/Applications/Autodesk/FBX SDK/2018.1.1" to FBX_SEARCH_PATH

I've already my modifications ready, if you agree I can send a pull request.

Cheers,
Alessandro

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72788#72788





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to