summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorIan Scott <ian.m.scott@stud.man.ac.uk>2002-09-03 09:00:06 -0400
committerIan Scott <ian.m.scott@stud.man.ac.uk>2002-09-03 09:00:06 -0400
commit8cc45bd524b328da895914c5b15a875fd3621e0d (patch)
tree215b8421fadae8987af60af366935510c22a8306 /Modules
parentc5feb8c6c54f13894fd573f0c29d7900487a54d9 (diff)
downloadcmake-8cc45bd524b328da895914c5b15a875fd3621e0d.tar.gz
I copied a bit too much VXL functionality here. Oops
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindPNG.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPNG.cmake b/Modules/FindPNG.cmake
index 8c0879bb20..2e41282d1f 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( ${MODULE_PATH}/NewCMake/FindZLIB.cmake )
+INCLUDE( INCLUDE(${CMAKE_ROOT}/Modules/FindZLIB.cmake )
IF(ZLIB_FOUND)
FIND_PATH(PNG_PNG_INCLUDE_DIR png.h