Torque3D/Tools/CMake/libraries/libtheora.cmake
2014-06-02 02:15:55 +02:00

22 lines
583 B
CMake

project(libtheora)
addPath( "${libDir}/libtheora" )
addPathRec( "${libDir}/libtheora/include" )
addPath( "${libDir}/libtheora/lib" )
addPath( "${libDir}/libtheora/lib/dec" )
addPath( "${libDir}/libtheora/lib/enc" )
if(WIN32)
addPath( "${libDir}/libtheora/lib/dec/x86_vc" )
addPath( "${libDir}/libtheora/lib/enc/x86_32_vs" )
else()
addPath( "${libDir}/libtheora/lib/dec/x86" )
addPath( "${libDir}/libtheora/lib/enc/x86_32" )
endif()
addDef(TORQUE_OGGTHEORA)
addDef(TORQUE_OGGVORIBS)
addInclude(${libDir}/libogg/include)
addInclude(${libDir}/libtheora/include)
finishLibrary()