aboutsummaryrefslogtreecommitdiff
path: root/modules/FindJPEG.cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2006-02-16 09:01:40 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2006-02-16 09:01:40 +0000
commit088cfc6d44e9297e37ffdd5817aa2f62b4afbafb (patch)
treed1e9710510fed4eddb812bd5dee546243283f580 /modules/FindJPEG.cmake
parent001e9abc40788b7fb5b7639c972a9b7eab449324 (diff)
downloadextra-cmake-modules-088cfc6d44e9297e37ffdd5817aa2f62b4afbafb.tar.gz
extra-cmake-modules-088cfc6d44e9297e37ffdd5817aa2f62b4afbafb.tar.bz2
using GNUWIN32_DIR requires detecting of gnuwin32 package dir before
svn path=/trunk/KDE/kdelibs/; revision=510062
Diffstat (limited to 'modules/FindJPEG.cmake')
-rw-r--r--modules/FindJPEG.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/FindJPEG.cmake b/modules/FindJPEG.cmake
index ba3d4f0b..63111377 100644
--- a/modules/FindJPEG.cmake
+++ b/modules/FindJPEG.cmake
@@ -7,6 +7,10 @@
# also defined, but not for general use are
# JPEG_LIBRARY, where to find the JPEG library.
+# under windows, try to find the base gnuwin32 directory, do nothing under UNIX
+FIND_PACKAGE(GNUWIN32)
+
+
FIND_PATH(JPEG_INCLUDE_DIR jpeglib.h
/usr/local/include
/usr/include