|
|
|
@ -77,7 +77,9 @@ endif(MSVC) |
|
|
|
|
add_library(${PNG_LIBRARY} STATIC ${OPENCV_3RDPARTY_EXCLUDE_FROM_ALL} ${lib_srcs} ${lib_hdrs}) |
|
|
|
|
target_link_libraries(${PNG_LIBRARY} ${ZLIB_LIBRARIES}) |
|
|
|
|
|
|
|
|
|
ocv_warnings_disable(CMAKE_C_FLAGS -Wundef -Wcast-align -Wimplicit-fallthrough -Wunused-parameter -Wsign-compare) |
|
|
|
|
ocv_warnings_disable(CMAKE_C_FLAGS -Wundef -Wcast-align -Wimplicit-fallthrough -Wunused-parameter -Wsign-compare |
|
|
|
|
-Wmaybe-uninitialized |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
set_target_properties(${PNG_LIBRARY} |
|
|
|
|
PROPERTIES OUTPUT_NAME ${PNG_LIBRARY} |
|
|
|
|