mirror of
https://github.com/opencv/opencv.git
synced 2026-09-13 05:42:51 -05:00
Merge pull request #27314 from parona-source:fix-libspng-pkgconfig
cmake: set SPNG_LIBRARY for pkgconfig as well
This commit is contained in:
@@ -304,6 +304,9 @@ if(WITH_SPNG)
|
||||
else()
|
||||
if(PkgConfig_FOUND)
|
||||
pkg_check_modules(SPNG QUIET spng)
|
||||
if(SPNG_FOUND)
|
||||
set(SPNG_LIBRARY ${SPNG_LIBRARIES} CACHE INTERNAL "")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
if(SPNG_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user