root/OpenSceneGraph/trunk/src/osgPlugins/fbx/CMakeLists.txt @ 11261

Revision 11261, 0.8 kB (checked in by mplatings, 4 years ago)

From Paul Martz: This is a fix to get the FBX plugin to compile on OS X

RevLine 
[10780]1INCLUDE_DIRECTORIES(${FBX_ROOT}/include)
2
3SET(TARGET_SRC
4    fbxRAnimation.cpp
5    fbxRCamera.cpp
6    fbxRLight.cpp
7    fbxRMesh.cpp
8    fbxRNode.cpp
9    ReaderWriterFBX.cpp
[11109]10    WriterNodeVisitor.cpp
11    fbxMaterialToOsgStateSet.cpp
[10780]12)
13
14SET(TARGET_H
15    fbxRAnimation.h
16    fbxRCamera.h
17    fbxRLight.h
18    fbxRMesh.h
19    fbxRNode.h
20    ReaderWriterFBX.h
[11109]21    WriterNodeVisitor.h
22    fbxMaterialToOsgStateSet.h
[10780]23)
24
25ADD_DEFINITIONS(-DKFBX_PLUGIN -DKFBX_FBXSDK -DKFBX_NODLL)
26
27IF(WIN32)
28    SET(TARGET_EXTERNAL_LIBRARIES wininet)
29ENDIF(WIN32)
30
[11261]31IF(APPLE)
32    FIND_LIBRARY(SYS_CONFIG_LIBRARY SystemConfiguration )
33    MARK_AS_ADVANCED(SYS_CONFIG_LIBRARY)
34    SET(TARGET_EXTERNAL_LIBRARIES iconv ${SYS_CONFIG_LIBRARY})
35ENDIF(APPLE)
36
[10780]37SET(TARGET_LIBRARIES_VARS FBX_LIBRARY)
38SET(TARGET_ADDED_LIBRARIES osgAnimation)
39
40#### end var setup  ###
41SETUP_PLUGIN(fbx)
Note: See TracBrowser for help on using the browser.