mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 01:39:07 +08:00
7d2541c69c
* 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>
7 lines
245 B
CMake
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()
|