diff options
Diffstat (limited to 'Modules/FindPNG.cmake')
-rw-r--r-- | Modules/FindPNG.cmake | 4 |
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) |