mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 00:19:46 +01:00
Merge pull request #27314 from parona-source:fix-libspng-pkgconfig
cmake: set SPNG_LIBRARY for pkgconfig as well
This commit is contained in:
commit
8ceddbff68
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user