summaryrefslogtreecommitdiff
path: root/Modules/FindJPEG.cmake
diff options
context:
space:
mode:
authorGeoffrey Cross <geoff@cross.lu>2001-05-04 11:35:47 -0400
committerGeoffrey Cross <geoff@cross.lu>2001-05-04 11:35:47 -0400
commit7bf828d132104896a58374b318f36b60dc59444b (patch)
tree20849442e8d00a77afa2438906ac0c3e79648145 /Modules/FindJPEG.cmake
parent8a21493f56ba9dde53e3954c5c89e3e678ede135 (diff)
downloadcmake-7bf828d132104896a58374b318f36b60dc59444b.tar.gz
INCLUDE these to find the relevant libraries
Diffstat (limited to 'Modules/FindJPEG.cmake')
-rw-r--r--Modules/FindJPEG.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake
new file mode 100644
index 0000000000..907c503a21
--- /dev/null
+++ b/Modules/FindJPEG.cmake
@@ -0,0 +1,15 @@
+#
+# Find the native JPEG includes and library
+#
+
+
+FIND_PATH(NATIVE_JPEG_INCLUDE_PATH jpeglib.h
+/usr/local/include
+/usr/include
+)
+
+FIND_LIBRARY(NATIVE_JPEG_LIB_PATH jpeg
+/usr/lib
+/usr/local/lib
+)
+