aboutsummaryrefslogtreecommitdiff
path: root/ports/glib/cmake
diff options
context:
space:
mode:
authorRodrigo Hernandez Cordoba <kwizatz@aeongames.com>2019-06-06 12:54:15 -0600
committerPhil Christensen <philc@microsoft.com>2019-06-06 11:54:15 -0700
commitdb9e1af47b5b8a68b4502ce6871bf134cbcabcf2 (patch)
treec84a2bf6dc12c2ec85f07c46ef7551da5d2defaa /ports/glib/cmake
parent4c613a085ce819200b9d2f4da85da530ef08201c (diff)
downloadvcpkg-db9e1af47b5b8a68b4502ce6871bf134cbcabcf2.tar.gz
vcpkg-db9e1af47b5b8a68b4502ce6871bf134cbcabcf2.zip
[gdk-pixbuf] Fix Linux compilation. (#6663)
* [gdk-pixbuf] Fix Linux compilation. Unlike #6625 this version contains the minimal changes required to keep other dependencies as untouched as possible. * [gdk-pixbuf] Bumping CONTROL versions * [libcroco] Added copy pdbs to portfile. * [libcroco] Fix missing unoficial-libcroco-targets-debug.cmake... ... file from installation.
Diffstat (limited to 'ports/glib/cmake')
-rw-r--r--ports/glib/cmake/unofficial-glib-config.in.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/glib/cmake/unofficial-glib-config.in.cmake b/ports/glib/cmake/unofficial-glib-config.in.cmake
index 976e52a9b..ea87ea0b2 100644
--- a/ports/glib/cmake/unofficial-glib-config.in.cmake
+++ b/ports/glib/cmake/unofficial-glib-config.in.cmake
@@ -1,7 +1,7 @@
-if("@VCPKG_LIBRARY_LINKAGE@" STREQUAL "static")
- include(CMakeFindDependencyMacro)
+include(CMakeFindDependencyMacro)
+find_dependency(unofficial-iconv)
+if(NOT WIN32)
find_dependency(Threads)
- find_dependency(unofficial-iconv)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/unofficial-glib-targets.cmake")