summaryrefslogtreecommitdiffstats
path: root/Modules/FindJPEG.cmake
diff options
context:
space:
mode:
authorGeoffrey Cross <geoff@cross.lu>2001-05-04 15:35:47 (GMT)
committerGeoffrey Cross <geoff@cross.lu>2001-05-04 15:35:47 (GMT)
commit7bf828d132104896a58374b318f36b60dc59444b (patch)
tree20849442e8d00a77afa2438906ac0c3e79648145 /Modules/FindJPEG.cmake
parent8a21493f56ba9dde53e3954c5c89e3e678ede135 (diff)
downloadCMake-7bf828d132104896a58374b318f36b60dc59444b.zip
CMake-7bf828d132104896a58374b318f36b60dc59444b.tar.gz
CMake-7bf828d132104896a58374b318f36b60dc59444b.tar.bz2
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 0000000..907c503
--- /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
+)
+