summaryrefslogtreecommitdiff
path: root/indra/cmake/CARes.cmake
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-03-19 17:30:07 -0400
committerOz Linden <oz@lindenlab.com>2014-03-19 17:30:07 -0400
commit776aadf4ef65681084268c3866058172c89b4259 (patch)
tree319c598d928b244047aabce1a8833f516f03b728 /indra/cmake/CARes.cmake
parentcb2bd577099f87881d467249cac679200bb367f0 (diff)
OPEN-199: replace the confusing STANDALONE switch with USESYSTEMLIBS
Diffstat (limited to 'indra/cmake/CARes.cmake')
-rwxr-xr-xindra/cmake/CARes.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/cmake/CARes.cmake b/indra/cmake/CARes.cmake
index b0dac5b12f..baa55aa49d 100755
--- a/indra/cmake/CARes.cmake
+++ b/indra/cmake/CARes.cmake
@@ -5,9 +5,9 @@ include(Prebuilt)
set(CARES_FIND_QUIETLY ON)
set(CARES_FIND_REQUIRED ON)
-if (STANDALONE)
+if (USESYSTEMLIBS)
include(FindCARes)
-else (STANDALONE)
+else (USESYSTEMLIBS)
use_prebuilt_binary(ares)
add_definitions("-DCARES_STATICLIB")
if (WINDOWS)
@@ -18,4 +18,4 @@ else (STANDALONE)
set(CARES_LIBRARIES cares)
endif (WINDOWS)
set(CARES_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/ares)
-endif (STANDALONE)
+endif (USESYSTEMLIBS)