diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/cmake/QuickTime.cmake | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/cmake/QuickTime.cmake')
-rw-r--r-- | linden/indra/cmake/QuickTime.cmake | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/linden/indra/cmake/QuickTime.cmake b/linden/indra/cmake/QuickTime.cmake new file mode 100644 index 0000000..b79ac11 --- /dev/null +++ b/linden/indra/cmake/QuickTime.cmake | |||
@@ -0,0 +1,33 @@ | |||
1 | # -*- cmake -*- | ||
2 | |||
3 | if(INSTALL_PROPRIETARY) | ||
4 | include(Prebuilt) | ||
5 | use_prebuilt_binary(quicktime) | ||
6 | endif(INSTALL_PROPRIETARY) | ||
7 | |||
8 | if (DARWIN) | ||
9 | include(CMakeFindFrameworks) | ||
10 | find_library(QUICKTIME_LIBRARY QuickTime) | ||
11 | elseif (WINDOWS) | ||
12 | set(QUICKTIME_SDK_DIR "C:\\Program Files\\QuickTime SDK" | ||
13 | CACHE PATH "Location of the QuickTime SDK.") | ||
14 | find_library(QUICKTIME_LIBRARY qtmlclient | ||
15 | PATHS | ||
16 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/lib/release | ||
17 | "${QUICKTIME_SDK_DIR}\\libraries" | ||
18 | ) | ||
19 | include_directories( | ||
20 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/quicktime | ||
21 | "${QUICKTIME_SDK_DIR}\\CIncludes" | ||
22 | ) | ||
23 | endif (DARWIN) | ||
24 | |||
25 | mark_as_advanced(QUICKTIME_LIBRARY) | ||
26 | |||
27 | if (QUICKTIME_LIBRARY) | ||
28 | set(QUICKTIME ON CACHE BOOL "Build with QuickTime streaming media support.") | ||
29 | endif (QUICKTIME_LIBRARY) | ||
30 | |||
31 | if (QUICKTIME) | ||
32 | add_definitions(-DLL_QUICKTIME_ENABLED=1) | ||
33 | endif (QUICKTIME) | ||