diff options
Diffstat (limited to 'Modules/FindPNG.cmake')
-rw-r--r-- | Modules/FindPNG.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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 |