fixed libpng build on Windows
This commit is contained in:
parent
417663c062
commit
5f6beac5d5
6
3rdparty/libpng/CMakeLists.txt
vendored
6
3rdparty/libpng/CMakeLists.txt
vendored
@ -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…
x
Reference in New Issue
Block a user