aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/JPEG.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/JPEG.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/JPEG.cmake23
1 files changed, 23 insertions, 0 deletions
diff --git a/linden/indra/cmake/JPEG.cmake b/linden/indra/cmake/JPEG.cmake
new file mode 100644
index 0000000..5d0ee0d
--- /dev/null
+++ b/linden/indra/cmake/JPEG.cmake
@@ -0,0 +1,23 @@
1# -*- cmake -*-
2include(Prebuilt)
3
4include(Linking)
5set(JPEG_FIND_QUIETLY ON)
6set(JPEG_FIND_REQUIRED ON)
7
8if (STANDALONE)
9 include(FindJPEG)
10else (STANDALONE)
11 use_prebuilt_binary(jpeglib)
12 if (LINUX)
13 set(JPEG_LIBRARIES jpeg)
14 elseif (DARWIN)
15 set(JPEG_LIBRARIES
16 optimized ${ARCH_PREBUILT_DIRS_RELEASE}/liblljpeg.a
17 debug ${ARCH_PREBUILT_DIRS_DEBUG}/liblljpeg.a
18 )
19 elseif (WINDOWS)
20 set(JPEG_LIBRARIES jpeglib_6b)
21 endif (LINUX)
22 set(JPEG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
23endif (STANDALONE)