fixed libpng build on Windows

pull/13383/head
Vadim Pisarevsky 14 years ago
parent 417663c062
commit 5f6beac5d5
  1. 6
      3rdparty/libpng/CMakeLists.txt

@ -8,6 +8,12 @@ project(libpng)
include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
if(ZLIB_FOUND)
include_directories(${ZLIB_INCLUDE_DIR})
else()
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../zlib")
endif()
file(GLOB lib_srcs *.c)
file(GLOB lib_hdrs *.h)

Loading…
Cancel
Save