From 8cc45bd524b328da895914c5b15a875fd3621e0d Mon Sep 17 00:00:00 2001 From: Ian Scott Date: Tue, 3 Sep 2002 09:00:06 -0400 Subject: I copied a bit too much VXL functionality here. Oops --- Modules/FindPNG.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindPNG.cmake b/Modules/FindPNG.cmake index 8c0879b..2e41282 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 -- cgit v0.12