diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/cmake/APR.cmake | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/linden/indra/cmake/APR.cmake b/linden/indra/cmake/APR.cmake index 2a96d70..523d8ee 100644 --- a/linden/indra/cmake/APR.cmake +++ b/linden/indra/cmake/APR.cmake | |||
@@ -15,23 +15,17 @@ if (STANDALONE) | |||
15 | else (STANDALONE) | 15 | else (STANDALONE) |
16 | use_prebuilt_binary(apr_suite) | 16 | use_prebuilt_binary(apr_suite) |
17 | if (WINDOWS) | 17 | if (WINDOWS) |
18 | set(WINLIBS_PREBUILT_DEBUG_DIR | ||
19 | ${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/debug | ||
20 | ) | ||
21 | set(WINLIBS_PREBUILT_RELEASE_DIR | ||
22 | ${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release | ||
23 | ) | ||
24 | set(APR_LIBRARIES | 18 | set(APR_LIBRARIES |
25 | debug ${WINLIBS_PREBUILT_DEBUG_DIR}/apr-1.lib | 19 | debug ${ARCH_PREBUILT_DIRS_DEBUG}/apr-1.lib |
26 | optimized ${WINLIBS_PREBUILT_RELEASE_DIR}/apr-1.lib | 20 | optimized ${ARCH_PREBUILT_DIRS_RELEASE}/apr-1.lib |
27 | ) | 21 | ) |
28 | set(APRUTIL_LIBRARIES | 22 | set(APRUTIL_LIBRARIES |
29 | debug ${WINLIBS_PREBUILT_DEBUG_DIR}/aprutil-1.lib | 23 | debug ${ARCH_PREBUILT_DIRS_DEBUG}/aprutil-1.lib |
30 | optimized ${WINLIBS_PREBUILT_RELEASE_DIR}/aprutil-1.lib | 24 | optimized ${ARCH_PREBUILT_DIRS_RELEASE}/aprutil-1.lib |
31 | ) | 25 | ) |
32 | set(APRICONV_LIBRARIES | 26 | set(APRICONV_LIBRARIES |
33 | debug ${WINLIBS_PREBUILT_DEBUG_DIR}/apriconv-1.lib | 27 | debug ${ARCH_PREBUILT_DIRS_DEBUG}/apriconv-1.lib |
34 | optimized ${WINLIBS_PREBUILT_RELEASE_DIR}/apriconv-1.lib | 28 | optimized ${ARCH_PREBUILT_DIRS_RELEASE}/apriconv-1.lib |
35 | ) | 29 | ) |
36 | elseif (DARWIN) | 30 | elseif (DARWIN) |
37 | set(APR_LIBRARIES | 31 | set(APR_LIBRARIES |
@@ -42,10 +36,11 @@ else (STANDALONE) | |||
42 | debug ${ARCH_PREBUILT_DIRS_DEBUG}/libaprutil-1.a | 36 | debug ${ARCH_PREBUILT_DIRS_DEBUG}/libaprutil-1.a |
43 | optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libaprutil-1.a | 37 | optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libaprutil-1.a |
44 | ) | 38 | ) |
45 | set(APRICONV_LIBRARIES apriconv-1) | 39 | set(APRICONV_LIBRARIES iconv) |
46 | else (WINDOWS) | 40 | else (WINDOWS) |
47 | set(APR_LIBRARIES apr-1) | 41 | set(APR_LIBRARIES apr-1) |
48 | set(APRUTIL_LIBRARIES aprutil-1) | 42 | set(APRUTIL_LIBRARIES aprutil-1) |
43 | set(APRICONV_LIBRARIES iconv) | ||
49 | endif (WINDOWS) | 44 | endif (WINDOWS) |
50 | set(APR_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/apr-1) | 45 | set(APR_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/apr-1) |
51 | 46 | ||