aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 15:37:23 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 15:37:23 -0700
commit88b698b04b4d7df915cacd6766403964badc0374 (patch)
tree767cb17363efe105b27164411d4039d6d6b58ca0
parentf18f97c5d52f2076d10dfb38ca744daf848b522e (diff)
downloadvcpkg-88b698b04b4d7df915cacd6766403964badc0374.tar.gz
vcpkg-88b698b04b4d7df915cacd6766403964badc0374.zip
[libbson] Mark as not supporting static yet
-rw-r--r--ports/libbson/portfile.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/libbson/portfile.cmake b/ports/libbson/portfile.cmake
index ca7e97c16..a7d347cae 100644
--- a/ports/libbson/portfile.cmake
+++ b/ports/libbson/portfile.cmake
@@ -1,4 +1,7 @@
include(${CMAKE_TRIPLET_FILE})
+if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ message(FATAL_ERROR "Static building not supported yet")
+endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libbson-1.4.2)