mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 02:37:49 +08:00
1eceb88c71
* fix library exports for iconv on macOS, add Threads dependency for cairo, add the iconv, intl and Threads dependencies to harfbuzz * updated portfile from harfbuzz fix * fix indenting and order * fix portfile * [gettext] Add unofficial-gettext targets * [gettext] Fixup for Linux
22 lines
651 B
Diff
22 lines
651 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 5c613e0..32d3a29 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1,4 +1,4 @@
|
|
-cmake_minimum_required(VERSION 2.8.0)
|
|
+cmake_minimum_required(VERSION 3.5.0)
|
|
project(harfbuzz)
|
|
|
|
enable_testing()
|
|
@@ -316,6 +316,10 @@ if (HB_HAVE_GLIB)
|
|
|
|
find_package(Threads REQUIRED)
|
|
find_package(unofficial-iconv REQUIRED)
|
|
+ if(APPLE)
|
|
+ find_package(unofficial-gettext CONFIG REQUIRED)
|
|
+ list(APPEND THIRD_PARTY_LIBS unofficial::gettext::libintl)
|
|
+ endif()
|
|
find_package(unofficial-glib CONFIG REQUIRED)
|
|
|
|
list(APPEND project_sources ${PROJECT_SOURCE_DIR}/src/hb-glib.cc)
|