mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 05:21:29 +08:00
[gettext]Improve gettext on Linux. (#7990)
This commit is contained in:
parent
a3e8197f2d
commit
ba34f17814
@ -1,5 +1,5 @@
|
||||
Source: gettext
|
||||
Version: 0.19-10
|
||||
Version: 0.19-11
|
||||
Homepage: https://www.gnu.org/software/gettext/
|
||||
Description: The GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. Provides libintl.
|
||||
Build-Depends: libiconv
|
||||
|
@ -1,5 +1,8 @@
|
||||
if(VCPKG_CMAKE_SYSTEM_NAME AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
||||
if (NOT EXISTS "/usr/include/libintl.h")
|
||||
message(FATAL_ERROR "Please use command \"sudo apt-get install gettext\" to install gettext on linux.")
|
||||
endif()
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/unofficial-gettext-config.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/unofficial-gettext)
|
||||
return()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user