vcpkg/ports/gettext/vcpkg-port-config.cmake
Kai Pastor 7d2541c69c
[gettext] Add gettext cmake wrapper (#18159)
* Add gettext cmake wrapper

* x-add-version

* Make kf5i18n use gettext[tools]:host

* x-add-version

* Revise wrapper source names

* Update git-tree

* Provide host tools via port config, not wrapper

* Enable tools on linux

* Fix linux libintl.h hint

* Update git-tree

* Update git-tree

* Revise vcpkg port config

* Revise linux libintl.h message

* Revise cmake style

* Build only release variant of tools

* Cache configuration for faster build

* Update git-tree

* Fix typo

* Revise options

* Add top-level Makefile for tools

* Remove non-libintl libs and includes

* Update git-tree

* Update port-version

* x-add-version

* [gettext] Address PR comments

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-07-24 13:10:41 -07:00

7 lines
245 B
CMake

get_filename_component(gettext_tools_dir "${CMAKE_CURRENT_LIST_DIR}/../../tools/gettext/bin" ABSOLUTE)
if(CMAKE_HOST_WIN32)
set(ENV{PATH} "$ENV{PATH};${gettext_tools_dir}")
else()
set(ENV{PATH} "$ENV{PATH}:${gettext_tools_dir}")
endif()