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/CARes.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/CARes.cmake')
-rw-r--r-- | linden/indra/cmake/CARes.cmake | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/linden/indra/cmake/CARes.cmake b/linden/indra/cmake/CARes.cmake new file mode 100644 index 0000000..8a2dc01 --- /dev/null +++ b/linden/indra/cmake/CARes.cmake | |||
@@ -0,0 +1,23 @@ | |||
1 | # -*- cmake -*- | ||
2 | include(Linking) | ||
3 | include(Prebuilt) | ||
4 | |||
5 | set(CARES_FIND_QUIETLY ON) | ||
6 | set(CARES_FIND_REQUIRED ON) | ||
7 | |||
8 | if (STANDALONE) | ||
9 | include(FindCARes) | ||
10 | else (STANDALONE) | ||
11 | use_prebuilt_binary(ares) | ||
12 | if (WINDOWS) | ||
13 | set(CARES_LIBRARIES areslib) | ||
14 | elseif (DARWIN) | ||
15 | set(CARES_LIBRARIES | ||
16 | optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libcares.a | ||
17 | debug ${ARCH_PREBUILT_DIRS_DEBUG}/libcares.a | ||
18 | ) | ||
19 | else (WINDOWS) | ||
20 | set(CARES_LIBRARIES cares) | ||
21 | endif (WINDOWS) | ||
22 | set(CARES_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/ares) | ||
23 | endif (STANDALONE) | ||