1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

Merge pull request #27314 from parona-source:fix-libspng-pkgconfig

cmake: set SPNG_LIBRARY for pkgconfig as well
This commit is contained in:
Alexander Smorkalov
2025-05-15 09:27:57 +03:00
committed by GitHub
+3
View File
@@ -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)