summaryrefslogtreecommitdiffstats
path: root/Modules/FindJPEG.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-09 18:53:32 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-09 18:53:32 (GMT)
commitf07ee5b8177e9e08f290e3acdff6c31d6b694bf6 (patch)
tree7d08c74e73010dfe3bd735b592fd64f09de5ab9c /Modules/FindJPEG.cmake
parent1dc7ae38ead50498b9e813d7c6e96f9d850b45ea (diff)
downloadCMake-f07ee5b8177e9e08f290e3acdff6c31d6b694bf6.zip
CMake-f07ee5b8177e9e08f290e3acdff6c31d6b694bf6.tar.gz
CMake-f07ee5b8177e9e08f290e3acdff6c31d6b694bf6.tar.bz2
ENH: change find library and find program to look for more than one name
Diffstat (limited to 'Modules/FindJPEG.cmake')
-rw-r--r--Modules/FindJPEG.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake
index 907c503..a72aa51 100644
--- a/Modules/FindJPEG.cmake
+++ b/Modules/FindJPEG.cmake
@@ -8,8 +8,7 @@ FIND_PATH(NATIVE_JPEG_INCLUDE_PATH jpeglib.h
/usr/include
)
-FIND_LIBRARY(NATIVE_JPEG_LIB_PATH jpeg
-/usr/lib
-/usr/local/lib
+FIND_LIBRARY(NATIVE_JPEG_LIB_PATH jpeg
+PATHS /usr/lib /usr/local/lib
)