File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -287,8 +287,10 @@ else()
287287 if (VCPKG_TARGET_IS_ANDROID) # AND CMAKE_SYSTEM_VERSION LESS 26)
288288 list (APPEND BUILD_OPTS ac_cv_header_langinfo_h=no )
289289 endif ()
290- if (VCPKG_OSX_SYSROOT)
291- list (APPEND BUILD_OPTS "PG_SYSROOT=${VCPKG_OSX_SYSROOT} " )
290+ vcpkg_cmake_get_vars (cmake_vars_file )
291+ include ("${cmake_vars_file} " )
292+ if (VCPKG_DETECTED_CMAKE_OSX_SYSROOT)
293+ list (APPEND BUILD_OPTS "PG_SYSROOT=${VCPKG_DETECTED_CMAKE_OSX_SYSROOT} " )
292294 endif ()
293295 vcpkg_configure_make (
294296 AUTOCONFIG
Original file line number Diff line number Diff line change 11{
22 "name" : " libpq" ,
33 "version" : " 14.4" ,
4+ "port-version" : 1 ,
45 "description" : " The official database access API of postgresql" ,
56 "homepage" : " https://www.postgresql.org/" ,
67 "license" : " PostgreSQL" ,
Original file line number Diff line number Diff line change 40344034 },
40354035 "libpq" : {
40364036 "baseline" : " 14.4" ,
4037- "port-version" : 0
4037+ "port-version" : 1
40384038 },
40394039 "libpqxx" : {
40404040 "baseline" : " 7.7.3" ,
Original file line number Diff line number Diff line change 11{
22 "versions" : [
3+ {
4+ "git-tree" : " bdf23f137f7f72e57555542fc392a8ec8e0ebd28" ,
5+ "version" : " 14.4" ,
6+ "port-version" : 1
7+ },
38 {
49 "git-tree" : " 2b3456bfb8b04525c44007f3c8a04b7e208d639d" ,
510 "version" : " 14.4" ,
You can’t perform that action at this time.
0 commit comments