aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/ZLIB.cmake
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/cmake/ZLIB.cmake
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-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 '')
-rw-r--r--linden/indra/cmake/ZLIB.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/linden/indra/cmake/ZLIB.cmake b/linden/indra/cmake/ZLIB.cmake
new file mode 100644
index 0000000..80d4191
--- /dev/null
+++ b/linden/indra/cmake/ZLIB.cmake
@@ -0,0 +1,20 @@
1# -*- cmake -*-
2
3set(ZLIB_FIND_QUIETLY ON)
4set(ZLIB_FIND_REQUIRED ON)
5
6include(Prebuilt)
7
8if (STANDALONE)
9 include(FindZLIB)
10else (STANDALONE)
11 use_prebuilt_binary(zlib)
12 if (WINDOWS)
13 set(ZLIB_LIBRARIES zlib)
14 else (WINDOWS)
15 set(ZLIB_LIBRARIES z)
16 endif (WINDOWS)
17 if (WINDOWS OR LINUX)
18 set(ZLIB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/zlib)
19 endif (WINDOWS OR LINUX)
20endif (STANDALONE)