summaryrefslogtreecommitdiff
path: root/indra/cmake/APR.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/APR.cmake')
-rw-r--r--indra/cmake/APR.cmake14
1 files changed, 6 insertions, 8 deletions
diff --git a/indra/cmake/APR.cmake b/indra/cmake/APR.cmake
index 63ea195fad..269b0f3000 100644
--- a/indra/cmake/APR.cmake
+++ b/indra/cmake/APR.cmake
@@ -1,11 +1,9 @@
include(Linking)
include(Prebuilt)
-if( TARGET apr::apr )
- return()
-endif()
+include_guard()
-create_target( apr::apr)
+create_target( ll::apr)
use_prebuilt_binary(apr_suite)
if (WINDOWS)
@@ -14,7 +12,7 @@ if (WINDOWS)
else (LLCOMMON_LINK_SHARED)
set(APR_selector "")
endif (LLCOMMON_LINK_SHARED)
- set_target_libraries( apr::apr
+ set_target_libraries( ll::apr
${ARCH_PREBUILT_DIRS_RELEASE}/${APR_selector}apr-1.lib
${ARCH_PREBUILT_DIRS_RELEASE}/${APR_selector}apriconv-1.lib
${ARCH_PREBUILT_DIRS_RELEASE}/${APR_selector}aprutil-1.lib
@@ -28,13 +26,13 @@ elseif (DARWIN)
set(APRUTIL_selector "a")
endif (LLCOMMON_LINK_SHARED)
- set_target_libraries( apr::apr
+ set_target_libraries( ll::apr
libapr-1.${APR_selector}
libaprutil-1.${APRUTIL_selector}
iconv
)
else (WINDOWS)
- set_target_libraries( apr::apr
+ set_target_libraries( ll::apr
apr-1
aprutil-1
iconv
@@ -42,4 +40,4 @@ else (WINDOWS)
rt
)
endif (WINDOWS)
-set_target_include_dirs( apr::apr ${LIBS_PREBUILT_DIR}/include/apr-1 )
+set_target_include_dirs( ll::apr ${LIBS_PREBUILT_DIR}/include/apr-1 )