diff options
author | Laurent Montel <montel@kde.org> | 2006-02-01 18:03:40 +0000 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2006-02-01 18:03:40 +0000 |
commit | 42a2e149e75301f00dc72fd19ef4fe20725c624e (patch) | |
tree | 6b1a506577fc5a2220fae15a0b44c9bcd14193aa /modules | |
parent | bd325b32bcd1ca1004d615a9c3f90c395d46d16f (diff) | |
download | extra-cmake-modules-42a2e149e75301f00dc72fd19ef4fe20725c624e.tar.gz extra-cmake-modules-42a2e149e75301f00dc72fd19ef4fe20725c624e.tar.bz2 |
Alexander is right, cmake have a png module
svn path=/trunk/KDE/kdelibs/; revision=504660
Diffstat (limited to 'modules')
-rw-r--r-- | modules/FindPNG.cmake | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/modules/FindPNG.cmake b/modules/FindPNG.cmake deleted file mode 100644 index 87c53060..00000000 --- a/modules/FindPNG.cmake +++ /dev/null @@ -1,35 +0,0 @@ -# - Try to find PNG -# Once done this will define -# -# PNG_FOUND - system has PNG -# PNG_INCLUDE_DIR - the PNG include directory -# PNG_LIBRARY - Link these to use OpenGL and GLU -# PNG_DEFINITIONS - Compiler switches required for using PNG -# - - -FIND_PATH(PNG_INCLUDE_DIR png.h - /usr/include - /usr/local/include -) - -FIND_LIBRARY(PNG_LIBRARY NAMES png - PATHS - /usr/lib - /usr/local/lib -) - -IF(PNG_INCLUDE_DIR AND PNG_LIBRARY) - SET(PNG_FOUND TRUE) -ENDIF(PNG_INCLUDE_DIR AND PNG_LIBRARY) - -IF(PNG_FOUND) - IF(NOT PNG_FIND_QUIETLY) - MESSAGE(STATUS "Found PNG: ${PNG_LIBRARY}") - ENDIF(NOT PNG_FIND_QUIETLY) -ELSE(PNG_FOUND) - IF(PNG_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "Could not find PNG") - ENDIF(PNG_FIND_REQUIRED) -ENDIF(PNG_FOUND) - |