summaryrefslogtreecommitdiff
path: root/Modules/FindPNG.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-08-26 22:52:53 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-08-26 22:52:53 -0400
commitad4f98f3cf20c3befa18979521736dc49b458a6c (patch)
tree77b0d21199657b547610ac8789f0a953d0195faa /Modules/FindPNG.cmake
parentc9eaf38653dddaf31f082cdac4fe166a7f5fb96a (diff)
downloadcmake-ad4f98f3cf20c3befa18979521736dc49b458a6c.tar.gz
ENH: Cleanup. Use relative path to modules
Diffstat (limited to 'Modules/FindPNG.cmake')
-rw-r--r--Modules/FindPNG.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindPNG.cmake b/Modules/FindPNG.cmake
index e9beaf7ff2..3ddf05e29f 100644
--- a/Modules/FindPNG.cmake
+++ b/Modules/FindPNG.cmake
@@ -14,7 +14,7 @@
# None of the above will be defined unles zlib can be found.
# PNG depends on Zlib
-INCLUDE( ${CMAKE_ROOT}/Modules/FindZLIB.cmake )
+INCLUDE(FindZLIB)
IF(ZLIB_FOUND)
FIND_PATH(PNG_PNG_INCLUDE_DIR png.h
@@ -45,4 +45,4 @@ IF(ZLIB_FOUND)
ENDIF (PNG_PNG_INCLUDE_DIR)
ENDIF (PNG_LIBRARY)
-ENDIF(ZLIB_FOUND) \ No newline at end of file
+ENDIF(ZLIB_FOUND)