Created
December 13, 2014 15:54
-
-
Save danslo/bee38e04f5d7616ba80f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/thrift/CMakeLists.txt b/thrift/CMakeLists.txt | |
index 8c46fd4..9e0eab8 100644 | |
--- a/thrift/CMakeLists.txt | |
+++ b/thrift/CMakeLists.txt | |
@@ -60,6 +60,9 @@ list(REMOVE_ITEM files | |
list(APPEND CXX_SOURCES ${files}) | |
add_definitions(-DNO_LIB_GFLAGS) | |
+if (APPLE) | |
+ add_definitions(-DTHRIFT_MUTEX_EMULATE_PTHREAD_TIMEDLOCK) | |
+endif() | |
find_package(Boost 1.48.0 COMPONENTS thread system REQUIRED) | |
include_directories(${Boost_INCLUDE_DIRS}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment