aboutsummaryrefslogtreecommitdiff
path: root/ports/libbson/0001_cmake.patch
diff options
context:
space:
mode:
authorsdcb <sdflysha@qq.com>2016-11-21 11:19:08 +0800
committersdcb <sdflysha@qq.com>2016-11-21 11:19:08 +0800
commit2538bdac5a8932c93efe5b87666e373c8c817ca4 (patch)
tree090d63c77ae5cdd07185a2b7df56b25abe0117d3 /ports/libbson/0001_cmake.patch
parentb706e4b93a23fa26580eea3089226e9ff0fc85e4 (diff)
downloadvcpkg-2538bdac5a8932c93efe5b87666e373c8c817ca4.tar.gz
vcpkg-2538bdac5a8932c93efe5b87666e373c8c817ca4.zip
Upgrade libbson to 1.5.0-rc6
Add support for libbson-static build. Do not use the patch file for libbson.
Diffstat (limited to 'ports/libbson/0001_cmake.patch')
-rw-r--r--ports/libbson/0001_cmake.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/ports/libbson/0001_cmake.patch b/ports/libbson/0001_cmake.patch
deleted file mode 100644
index af1f1a598..000000000
--- a/ports/libbson/0001_cmake.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d09a298..e64a6cd 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -12,7 +12,6 @@ include(CheckIncludeFile)
- include(CheckStructHasMember)
- include(CheckSymbolExists)
- include(TestBigEndian)
--include(InstallRequiredSystemLibraries)
-
- set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/build/cmake)
-
-@@ -47,13 +46,6 @@ TEST_BIG_ENDIAN(BSON_BIG_ENDIAN)
- set (BSON_PTHREAD_ONCE_INIT_NEEDS_BRACES 0)
- set (BSON_HAVE_DECIMAL128 0)
-
--#librt needed on linux for clock_gettime
--find_library(RT_LIBRARY rt)
--if (RT_LIBRARY)
-- #set required libraries for CHECK_FUNCTION_EXISTS
-- set(CMAKE_REQUIRED_LIBRARIES ${RT_LIBRARY})
--endif()
--
- # See https://public.kitware.com/Bug/view.php?id=15659
- CHECK_SYMBOL_EXISTS(snprintf stdio.h BSON_HAVE_SNPRINTF)
- if (NOT BSON_HAVE_SNPRINTF)
-@@ -314,7 +306,7 @@ install(
- )
- install(
- FILES ${HEADERS}
-- DESTINATION "include/libbson-${BSON_API_VERSION}"
-+ DESTINATION "include"
- )
-
- set(VERSION "${BSON_VERSION}")