aboutsummaryrefslogtreecommitdiff
path: root/modules/FindGIF.cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2006-04-08 22:43:16 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2006-04-08 22:43:16 +0000
commitcba8933a83c2e96698b85b980438f30385f8420e (patch)
treea419a92b1d833f8396bf1497354d5998528feac5 /modules/FindGIF.cmake
parente9e6c0db0f483f2cdbceb69cbb76974189e15cde (diff)
downloadextra-cmake-modules-cba8933a83c2e96698b85b980438f30385f8420e.tar.gz
extra-cmake-modules-cba8933a83c2e96698b85b980438f30385f8420e.tar.bz2
optimized gnuwin32 detection on windows
- find gnuwin32 package location very early - removed GNUWIN32_INCLUDE_DIR/GNUWIN32_LIBRARY_DIR macros, because FindGNUWIN32.cmake sets now CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH - don't use pkgconfig on windows svn path=/trunk/KDE/kdelibs/; revision=527634
Diffstat (limited to 'modules/FindGIF.cmake')
-rw-r--r--modules/FindGIF.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/FindGIF.cmake b/modules/FindGIF.cmake
index f8b40d48..e3ffdaf1 100644
--- a/modules/FindGIF.cmake
+++ b/modules/FindGIF.cmake
@@ -6,20 +6,16 @@
# GIF_LIBRARIES - Libraries needed to use GIF
# GIF_DEFINITIONS - Compiler switches required for using GIF
#
-FIND_PACKAGE(GNUWIN32)
-
FIND_PATH(GIF_INCLUDE_DIR gif_lib.h
/usr/include
/usr/local/include
- ${GNUWIN32_DIR}/include
)
FIND_LIBRARY(GIF_LIBRARIES NAMES gif libgif ungif libungif giflib
PATHS
/usr/lib
/usr/local/lib
- ${GNUWIN32_DIR}/lib
)
if (GIF_INCLUDE_DIR AND GIF_LIBRARIES)