File tree Expand file tree Collapse file tree
3rdParty/vcpkg_ports/ports/gdk-pixbuf Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,8 +61,12 @@ if(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_WINDOWS)
6161 list (APPEND OPTIONS -Drelocatable=true )
6262endif ()
6363
64- if (VCPKG_TARGET_IS_ANDROID AND VCPKG_DETECTED_CMAKE_SYSTEM_VERSION VERSION_LESS "31" )
65- list (APPEND OPTIONS -Dandroid=disabled)
64+ if (VCPKG_TARGET_IS_ANDROID)
65+ vcpkg_cmake_get_vars (cmake_vars_file )
66+ include ("${cmake_vars_file} " )
67+ if (VCPKG_DETECTED_CMAKE_SYSTEM_VERSION VERSION_LESS "31" )
68+ list (APPEND OPTIONS -Dandroid=disabled)
69+ endif ()
6670endif ()
6771
6872if (VCPKG_TARGET_IS_WINDOWS)
Original file line number Diff line number Diff line change 11{
22 "name" : " gdk-pixbuf" ,
33 "version" : " 2.44.6" ,
4+ "port-version" : 1 ,
45 "description" : " Image loading library." ,
56 "homepage" : " https://gitlab.gnome.org/GNOME/gdk-pixbuf" ,
67 "license" : " LGPL-2.1-or-later" ,
2021 "name" : " glib" ,
2122 "host" : true
2223 },
24+ {
25+ "name" : " vcpkg-cmake-get-vars" ,
26+ "host" : true ,
27+ "platform" : " android"
28+ },
2329 {
2430 "name" : " vcpkg-tool-meson" ,
2531 "host" : true
You can’t perform that action at this time.
0 commit comments