aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 17:10:14 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 17:10:14 -0700
commit52e40e67ca8fa620f23650f5a854974d5485a018 (patch)
tree9d40d0474b193ee7a68fc7cc7f9f4d8d86757634
parentb12d182d9739e2fda6037cac4a7ceb8232501779 (diff)
downloadvcpkg-52e40e67ca8fa620f23650f5a854974d5485a018.tar.gz
vcpkg-52e40e67ca8fa620f23650f5a854974d5485a018.zip
[mongo-driver] Mark as not static ready
-rw-r--r--ports/mongo-c-driver/portfile.cmake3
-rw-r--r--ports/mongo-cxx-driver/portfile.cmake3
2 files changed, 6 insertions, 0 deletions
diff --git a/ports/mongo-c-driver/portfile.cmake b/ports/mongo-c-driver/portfile.cmake
index df84008e4..27b70b7f7 100644
--- a/ports/mongo-c-driver/portfile.cmake
+++ b/ports/mongo-c-driver/portfile.cmake
@@ -1,4 +1,7 @@
include(${CMAKE_TRIPLET_FILE})
+if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ message(FATAL_ERROR "Static building not supported yet. Portfile not modified and blocked by libbson.")
+endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/mongo-c-driver-1.4.2)
diff --git a/ports/mongo-cxx-driver/portfile.cmake b/ports/mongo-cxx-driver/portfile.cmake
index fa29b14a3..867275aea 100644
--- a/ports/mongo-cxx-driver/portfile.cmake
+++ b/ports/mongo-cxx-driver/portfile.cmake
@@ -1,4 +1,7 @@
include(${CMAKE_TRIPLET_FILE})
+if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ message(FATAL_ERROR "Static building not supported yet. Portfile not modified and blocked by libbson.")
+endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/mongo-cxx-driver-r3.0.2)