summaryrefslogtreecommitdiffstats
path: root/Modules/FindPNG.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-08-27 02:52:53 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-08-27 02:52:53 (GMT)
commitad4f98f3cf20c3befa18979521736dc49b458a6c (patch)
tree77b0d21199657b547610ac8789f0a953d0195faa /Modules/FindPNG.cmake
parentc9eaf38653dddaf31f082cdac4fe166a7f5fb96a (diff)
downloadCMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.zip
CMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.tar.gz
CMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.tar.bz2
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 e9beaf7..3ddf05e 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)