Debian Codegraph @

sdk/cmake/vcpkg_overlay_ports/ios_overlays/zlib/portfile.cmake

raw
1 set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
2
3 if(VCPKG_OSX_SYSROOT STREQUAL "iphonesimulator")
4 set(target_environment "iPhoneSimulator")
5 else()
6 set(target_environment "iPhoneOS")
7 endif()
8
9 message(NOTICE "Creating .pc file for ${PORT}, pointing to the zlib provided by the system in the ${target_environment} sysroot/SDK")
10
11 configure_file("${CMAKE_CURRENT_LIST_DIR}/zlib.pc.in" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/zlib.pc" @ONLY)
12 configure_file("${CMAKE_CURRENT_LIST_DIR}/zlib.pc.in" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/zlib.pc" @ONLY)