Tempory fix for static build of Present3D which disables the use of ffmpeg when compiling static, will need to

look into unresolved symbols assoiated with FFMPEG at a later date.
This commit is contained in:
Robert Osfield 2011-06-17 10:35:00 +00:00
parent 25d9c44b10
commit c19b697baf

View File

@ -83,9 +83,10 @@ IF (NOT DYNAMIC_OPENSCENEGRAPH)
SET(TARGET_ADDED_LIBRARIES ${TARGET_ADDED_LIBRARIES} osgdb_curl) SET(TARGET_ADDED_LIBRARIES ${TARGET_ADDED_LIBRARIES} osgdb_curl)
ENDIF(CURL_FOUND) ENDIF(CURL_FOUND)
IF(FFMPEG_FOUND) IF(FFMPEG_FOUND)
ADD_DEFINITIONS(-DUSE_FFMPEG) # ADD_DEFINITIONS(-DUSE_FFMPEG)
SET(TARGET_ADDED_LIBRARIES ${TARGET_ADDED_LIBRARIES} osgdb_ffmpeg) # SET(TARGET_ADDED_LIBRARIES ${TARGET_ADDED_LIBRARIES} osgdb_ffmpeg)
ENDIF(FFMPEG_FOUND) ENDIF(FFMPEG_FOUND)
IF(FREETYPE_FOUND) IF(FREETYPE_FOUND)