зеркало из https://github.com/microsoft/vcpkg.git
[gettext-libintl] Link CoreFoundation on apple (#38859)
Cherry-picked from https://github.com/microsoft/vcpkg/pull/38658.
This commit is contained in:
Родитель
91ce5065d7
Коммит
13c141f489
|
@ -14,4 +14,10 @@ if(Intl_FOUND AND Intl_LIBRARIES)
|
|||
set_property(TARGET Intl::Intl APPEND PROPERTY INTERFACE_LINK_LIBRARIES $<LINK_ONLY:Iconv::Iconv>)
|
||||
endif()
|
||||
endif()
|
||||
if(APPLE)
|
||||
list(APPEND Intl_LIBRARIES "-framework CoreFoundation")
|
||||
if(TARGET Intl::Intl) # Since CMake 3.20
|
||||
set_property(TARGET Intl::Intl APPEND PROPERTY INTERFACE_LINK_LIBRARIES "$<LINK_ONLY:-framework CoreFoundation>")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "gettext-libintl",
|
||||
"version": "0.22.5",
|
||||
"port-version": 1,
|
||||
"description": "The libintl C library from GNU gettext-runtime.",
|
||||
"homepage": "https://www.gnu.org/software/gettext/",
|
||||
"license": "LGPL-2.1-or-later",
|
||||
|
|
|
@ -3014,7 +3014,7 @@
|
|||
},
|
||||
"gettext-libintl": {
|
||||
"baseline": "0.22.5",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"gettimeofday": {
|
||||
"baseline": "2017-10-14",
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ac89519d5ec11430978a4e45619befb7a1c4a062",
|
||||
"version": "0.22.5",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "8a3f80e31783a834e0fdc9d231136651cb2f08b4",
|
||||
"version": "0.22.5",
|
||||
|
|
Загрузка…
Ссылка в новой задаче