mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 14:59:06 +08:00
eb183171d2
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
18 lines
630 B
Diff
18 lines
630 B
Diff
diff --git a/cmake/modules/psttf.cmake b/cmake/modules/psttf.cmake
|
|
index 950f41b..6c20af5 100644
|
|
--- a/cmake/modules/psttf.cmake
|
|
+++ b/cmake/modules/psttf.cmake
|
|
@@ -56,7 +56,11 @@ if(PLD_psttf)
|
|
endif(PLD_psttf)
|
|
|
|
if(PLD_psttf)
|
|
- pkg_check_pkgconfig("lasi;pango;pangoft2" includedir libdir linkflags cflags version _PSTTF)
|
|
+ set(PKG_LIST lasi pango pangoft2)
|
|
+ foreach (SELECTED_PKG ${PKG_LIST})
|
|
+ pkg_check_pkgconfig("${SELECTED_PKG}" includedir libdir linkflags cflags version _PSTTF)
|
|
+ endforeach()
|
|
+
|
|
if(linkflags)
|
|
#blank-separated required.
|
|
string(REGEX REPLACE ";" " " psttf_COMPILE_FLAGS "${cflags}")
|