From 42a2e149e75301f00dc72fd19ef4fe20725c624e Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 1 Feb 2006 18:03:40 +0000 Subject: Alexander is right, cmake have a png module svn path=/trunk/KDE/kdelibs/; revision=504660 --- modules/FindPNG.cmake | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 modules/FindPNG.cmake 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) - -- cgit v1.2.1