mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
parent
1e9ed14205
commit
bf3264b197
@ -116,6 +116,7 @@ if(WITH_PNG AND NOT IOS)
|
|||||||
else()
|
else()
|
||||||
include(FindPNG)
|
include(FindPNG)
|
||||||
if(PNG_FOUND)
|
if(PNG_FOUND)
|
||||||
|
include(CheckIncludeFile)
|
||||||
check_include_file("${PNG_PNG_INCLUDE_DIR}/png.h" HAVE_PNG_H)
|
check_include_file("${PNG_PNG_INCLUDE_DIR}/png.h" HAVE_PNG_H)
|
||||||
check_include_file("${PNG_PNG_INCLUDE_DIR}/libpng/png.h" HAVE_LIBPNG_PNG_H)
|
check_include_file("${PNG_PNG_INCLUDE_DIR}/libpng/png.h" HAVE_LIBPNG_PNG_H)
|
||||||
if(HAVE_PNG_H)
|
if(HAVE_PNG_H)
|
||||||
|
Loading…
Reference in New Issue
Block a user