aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmedia/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmedia/CMakeLists.txt')
-rw-r--r--linden/indra/llmedia/CMakeLists.txt81
1 files changed, 0 insertions, 81 deletions
diff --git a/linden/indra/llmedia/CMakeLists.txt b/linden/indra/llmedia/CMakeLists.txt
deleted file mode 100644
index f3c8e30..0000000
--- a/linden/indra/llmedia/CMakeLists.txt
+++ /dev/null
@@ -1,81 +0,0 @@
1# -*- cmake -*-
2
3project(llmedia)
4
5include(00-Common)
6include(LLAudio)
7include(LLCommon)
8include(LLImage)
9include(LLMath)
10include(LLMedia)
11include(LLMessage)
12include(LLWindow)
13include(Mozlib)
14
15include_directories(
16 ${GSTREAMER_INCLUDE_DIRS}
17 ${GSTREAMER_PLUGINS_BASE_INCLUDE_DIRS}
18 ${GSTREAMER_VIDEO_INCLUDE_DIRS}
19 ${LLAUDIO_INCLUDE_DIRS}
20 ${LLCOMMON_INCLUDE_DIRS}
21 ${LLIMAGE_INCLUDE_DIRS}
22 ${LLMATH_INCLUDE_DIRS}
23 ${LLMESSAGE_INCLUDE_DIRS}
24 ${LLWINDOW_INCLUDE_DIRS}
25 )
26
27set(llmedia_SOURCE_FILES
28 llmediaimplcommon.cpp
29 llmediaimplexample1.cpp
30 llmediaimplexample2.cpp
31 llmediaimplfactory.cpp
32 llmediamanager.cpp
33 llmediaimplgstreamer.cpp
34 llmediaimplgstreamervidplug.cpp
35 llgstplaythread.cpp
36 )
37
38set(llmedia_HEADER_FILES
39 CMakeLists.txt
40
41 llmediabase.h
42 llmediaemitter.h
43 llmediaimplcommon.h
44 llmediaimplexample1.h
45 llmediaimplexample2.h
46 llmediaimplfactory.h
47 llmediaimplregister.h
48 llmediamanager.h
49 llmediaobserver.h
50 llmediaimplgstreamer.h
51 llmediaimplgstreamervidplug.h
52 llgstplaythread.h
53 )
54
55 # Work around a bad interaction between broken gstreamer headers and
56 # g++ 4.3's increased strictness.
57
58 if (${CXX_VERSION} MATCHES "4.[23]")
59 set_source_files_properties(llmediaimplgstreamervidplug.cpp PROPERTIES
60 COMPILE_FLAGS -Wno-error=write-strings)
61 endif (${CXX_VERSION} MATCHES "4.[23]")
62
63if (MOZLIB)
64 list(APPEND llmedia_SOURCE_FILES llmediaimplllmozlib.cpp)
65
66 list(APPEND llmedia_HEADER_FILES llmediaimplllmozlib.h)
67endif (MOZLIB)
68
69set_source_files_properties(${llmedia_HEADER_FILES}
70 PROPERTIES HEADER_FILE_ONLY TRUE)
71
72list(APPEND llmedia_SOURCE_FILES ${llmedia_HEADER_FILES})
73
74add_library (llmedia ${llmedia_SOURCE_FILES})
75target_link_libraries(
76 llmedia
77 ${GSTREAMER_LIBRARIES}
78 ${GSTREAMER_PLUGINS_BASE_LIBRARIES}
79 ${GSTREAMER_VIDEO_LIBRARIES}
80 ${QUICKTIME_LIBRARY}
81 )