Ver código fonte

I copied a bit too much VXL functionality here. Oops

Ian Scott 23 anos atrás
pai
commit
8cc45bd524
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Modules/FindPNG.cmake

+ 1 - 1
Modules/FindPNG.cmake

@@ -14,7 +14,7 @@
 # None of the above will be defined unles zlib can be found.
 # None of the above will be defined unles zlib can be found.
 
 
 # PNG depends on Zlib
 # PNG depends on Zlib
-INCLUDE( ${MODULE_PATH}/NewCMake/FindZLIB.cmake )
+INCLUDE( INCLUDE(${CMAKE_ROOT}/Modules/FindZLIB.cmake )
 
 
 IF(ZLIB_FOUND)
 IF(ZLIB_FOUND)
   FIND_PATH(PNG_PNG_INCLUDE_DIR png.h
   FIND_PATH(PNG_PNG_INCLUDE_DIR png.h