From c19b697baf415f221d1af4b80207abb0f2c00dfc Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 17 Jun 2011 10:35:00 +0000 Subject: [PATCH] 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. --- applications/present3D/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/applications/present3D/CMakeLists.txt b/applications/present3D/CMakeLists.txt index 917c1d9e0..6cb5da5af 100644 --- a/applications/present3D/CMakeLists.txt +++ b/applications/present3D/CMakeLists.txt @@ -83,9 +83,10 @@ IF (NOT DYNAMIC_OPENSCENEGRAPH) SET(TARGET_ADDED_LIBRARIES ${TARGET_ADDED_LIBRARIES} osgdb_curl) ENDIF(CURL_FOUND) + IF(FFMPEG_FOUND) - ADD_DEFINITIONS(-DUSE_FFMPEG) - SET(TARGET_ADDED_LIBRARIES ${TARGET_ADDED_LIBRARIES} osgdb_ffmpeg) + # ADD_DEFINITIONS(-DUSE_FFMPEG) + # SET(TARGET_ADDED_LIBRARIES ${TARGET_ADDED_LIBRARIES} osgdb_ffmpeg) ENDIF(FFMPEG_FOUND) IF(FREETYPE_FOUND)