Restricted Win32 API was fixed in Highgui and some 3rd party libs. Patch

for libpng added.
This commit is contained in:
Alexander Smorkalov
2013-08-12 06:30:40 -07:00
parent 8d39350b4d
commit 9af2c1661a
6 changed files with 52 additions and 3 deletions

View File

@@ -29,6 +29,10 @@ if(MSVC)
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
endif(MSVC)
if (HAVE_WINRT)
add_definitions(-DHAVE_WINRT)
endif()
add_library(${PNG_LIBRARY} STATIC ${lib_srcs} ${lib_hdrs})
target_link_libraries(${PNG_LIBRARY} ${ZLIB_LIBRARY})