diff options
Diffstat (limited to 'linden/indra/cmake/JPEG.cmake')
-rw-r--r-- | linden/indra/cmake/JPEG.cmake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/linden/indra/cmake/JPEG.cmake b/linden/indra/cmake/JPEG.cmake index de9667e..144f913 100644 --- a/linden/indra/cmake/JPEG.cmake +++ b/linden/indra/cmake/JPEG.cmake | |||
@@ -12,11 +12,7 @@ else (STANDALONE) | |||
12 | if (LINUX) | 12 | if (LINUX) |
13 | set(JPEG_LIBRARIES jpeg) | 13 | set(JPEG_LIBRARIES jpeg) |
14 | elseif (DARWIN) | 14 | elseif (DARWIN) |
15 | find_library(JPEG_LIBRARIES | 15 | set(JPEG_LIBRARIES ${ARCH_PREBUILT_DIRS_RELEASE}/libjpeg.62.dylib) |
16 | NAMES jpeg.62 | ||
17 | PATHS ${ARCH_PREBUILT_DIRS_RELEASE} | ||
18 | NO_DEFAULT_PATH | ||
19 | ) | ||
20 | elseif (WINDOWS) | 16 | elseif (WINDOWS) |
21 | set(JPEG_LIBRARIES jpeglib) | 17 | set(JPEG_LIBRARIES jpeglib) |
22 | endif (LINUX) | 18 | endif (LINUX) |