diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/cmake/QuickTime.cmake | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/linden/indra/cmake/QuickTime.cmake b/linden/indra/cmake/QuickTime.cmake index b79ac11..4352709 100644 --- a/linden/indra/cmake/QuickTime.cmake +++ b/linden/indra/cmake/QuickTime.cmake | |||
@@ -9,13 +9,29 @@ if (DARWIN) | |||
9 | include(CMakeFindFrameworks) | 9 | include(CMakeFindFrameworks) |
10 | find_library(QUICKTIME_LIBRARY QuickTime) | 10 | find_library(QUICKTIME_LIBRARY QuickTime) |
11 | elseif (WINDOWS) | 11 | elseif (WINDOWS) |
12 | set(QUICKTIME_SDK_DIR "C:\\Program Files\\QuickTime SDK" | 12 | set(QUICKTIME_SDK_DIR "$ENV{PROGRAMFILES}/QuickTime SDK" |
13 | CACHE PATH "Location of the QuickTime SDK.") | 13 | CACHE PATH "Location of the QuickTime SDK.") |
14 | find_library(QUICKTIME_LIBRARY qtmlclient | 14 | |
15 | find_library(DEBUG_QUICKTIME_LIBRARY qtmlclient | ||
16 | PATHS | ||
17 | ${ARCH_PREBUILT_DIRS_DEBUG} | ||
18 | "${QUICKTIME_SDK_DIR}\\libraries" | ||
19 | ) | ||
20 | |||
21 | find_library(RELEASE_QUICKTIME_LIBRARY qtmlclient | ||
15 | PATHS | 22 | PATHS |
16 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/lib/release | 23 | ${ARCH_PREBUILT_DIRS_RELEASE} |
17 | "${QUICKTIME_SDK_DIR}\\libraries" | 24 | "${QUICKTIME_SDK_DIR}\\libraries" |
18 | ) | 25 | ) |
26 | |||
27 | if (DEBUG_QUICKTIME_LIBRARY AND RELEASE_QUICKTIME_LIBRARY) | ||
28 | set(QUICKTIME_LIBRARY | ||
29 | optimized ${RELEASE_QUICKTIME_LIBRARY} | ||
30 | debug ${DEBUG_QUICKTIME_LIBRARY} | ||
31 | ) | ||
32 | |||
33 | endif (DEBUG_QUICKTIME_LIBRARY AND RELEASE_QUICKTIME_LIBRARY) | ||
34 | |||
19 | include_directories( | 35 | include_directories( |
20 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/quicktime | 36 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/quicktime |
21 | "${QUICKTIME_SDK_DIR}\\CIncludes" | 37 | "${QUICKTIME_SDK_DIR}\\CIncludes" |