summaryrefslogtreecommitdiffstats
path: root/Modules/FindJPEG.cmake
diff options
context:
space:
mode:
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
+)
+