aboutsummaryrefslogtreecommitdiff
path: root/ports/cairo
diff options
context:
space:
mode:
authorTodor Prokopov <koprok@users.noreply.github.com>2018-12-18 02:30:27 +0200
committerRobert Schumacher <roschuma@microsoft.com>2018-12-17 16:30:27 -0800
commitffbff8caabd2fa7e853df18e9d04c391fcc06076 (patch)
tree607a9ae7acf85a2a8fdbd433b6524ce2610b143b /ports/cairo
parent411d1332ada32750ae9993654cf38b9e3dd2c72d (diff)
downloadvcpkg-ffbff8caabd2fa7e853df18e9d04c391fcc06076.tar.gz
vcpkg-ffbff8caabd2fa7e853df18e9d04c391fcc06076.zip
Wt Linux fixes (#4927)
* [harfbuzz] Fix build on Linux * [cairo] Fix build on Linux * [pango] Fix build on Linux * [wt] Fix build on Linux * [wt] Fix linking with -lcrypto
Diffstat (limited to 'ports/cairo')
-rw-r--r--ports/cairo/CMakeLists.txt3
-rw-r--r--ports/cairo/CONTROL2
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/cairo/CMakeLists.txt b/ports/cairo/CMakeLists.txt
index 137dba7f3..9fc476539 100644
--- a/ports/cairo/CMakeLists.txt
+++ b/ports/cairo/CMakeLists.txt
@@ -160,6 +160,7 @@ endif()
set(CMAKE_DEBUG_POSTFIX "d")
+find_package(Threads REQUIRED)
find_package(ZLIB REQUIRED)
find_package(PNG REQUIRED)
find_package(Freetype REQUIRED)
@@ -176,7 +177,7 @@ add_definitions(
-DHAVE_FT_GET_X11_FONT_FORMAT=1)
# additional features for macOS
-if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
+if((CMAKE_SYSTEM_NAME STREQUAL "Darwin") OR (CMAKE_SYSTEM_NAME STREQUAL "Linux"))
add_definitions(
-DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1
diff --git a/ports/cairo/CONTROL b/ports/cairo/CONTROL
index 2f182e84b..365fe38e7 100644
--- a/ports/cairo/CONTROL
+++ b/ports/cairo/CONTROL
@@ -1,4 +1,4 @@
Source: cairo
-Version: 1.15.8-3
+Version: 1.15.8-4
Description: Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System (via both Xlib and XCB), Quartz, Win32, image buffers, PostScript, PDF, and SVG file output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.
Build-Depends: zlib, libpng, pixman, glib, freetype, fontconfig