root/OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/fbx/CMakeLists.txt @ 11260

Revision 11260, 0.8 kB (checked in by paulmartz, 5 years ago)

2.8 branch: Fix for FBX plugin on OS X.

  • Property svn:mime-type set to text/x-cpp
  • Property svn:eol-style set to native
Line 
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
10    WriterNodeVisitor.cpp
11    fbxMaterialToOsgStateSet.cpp
12)
13
14SET(TARGET_H
15    fbxRAnimation.h
16    fbxRCamera.h
17    fbxRLight.h
18    fbxRMesh.h
19    fbxRNode.h
20    ReaderWriterFBX.h
21    WriterNodeVisitor.h
22    fbxMaterialToOsgStateSet.h
23)
24
25ADD_DEFINITIONS(-DKFBX_PLUGIN -DKFBX_FBXSDK -DKFBX_NODLL)
26
27IF(WIN32)
28    SET(TARGET_EXTERNAL_LIBRARIES wininet)
29ENDIF(WIN32)
30
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
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.