From fa1d9de578b55b5e2aa15429da1e465c496f15f0 Mon Sep 17 00:00:00 2001 From: David Capello Date: Sat, 25 Oct 2014 22:36:26 -0300 Subject: [PATCH] Add TLS support to pixman for Unix-like systems --- third_party/pixman-cmake/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/third_party/pixman-cmake/CMakeLists.txt b/third_party/pixman-cmake/CMakeLists.txt index dd2f48a91..2db3290d2 100644 --- a/third_party/pixman-cmake/CMakeLists.txt +++ b/third_party/pixman-cmake/CMakeLists.txt @@ -2,6 +2,10 @@ add_definitions(-DHAVE_CONFIG_H) +if(UNIX OR APPLE) + add_definitions(-DHAVE_PTHREADS) +endif() + set(PIXMAN_VERSION_MAJOR 0) set(PIXMAN_VERSION_MINOR 32) set(PIXMAN_VERSION_MICRO 6)