aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2020-01-31 00:44:28 -0800
committerGitHub <noreply@github.com>2020-01-31 00:44:28 -0800
commitfd84591433a055be2eb2b40dcef9fffddeff6425 (patch)
tree06ceeabcb3a925d85b357a0a52f4d28c1ec1f6df
parentcf3e688dda65b2a6d4729edcaf83e99b32c92fd1 (diff)
downloadvcpkg-fd84591433a055be2eb2b40dcef9fffddeff6425.tar.gz
vcpkg-fd84591433a055be2eb2b40dcef9fffddeff6425.zip
[azure-storage-cpp] Azure storage only requires gettext on OSX -- avoid unneeded deps (#9852)
-rw-r--r--ports/azure-storage-cpp/CONTROL4
-rw-r--r--ports/azure-storage-cpp/portfile.cmake11
2 files changed, 7 insertions, 8 deletions
diff --git a/ports/azure-storage-cpp/CONTROL b/ports/azure-storage-cpp/CONTROL
index 3fc857f95..be93299da 100644
--- a/ports/azure-storage-cpp/CONTROL
+++ b/ports/azure-storage-cpp/CONTROL
@@ -1,6 +1,6 @@
Source: azure-storage-cpp
-Version: 7.1.0
-Build-Depends: cpprestsdk[core], atlmfc (windows), boost-log (!windows&!uwp), boost-locale (!windows&!uwp), libxml2 (!windows&!uwp), libuuid (!windows&!uwp&!osx), gettext
+Version: 7.1.0-1
+Build-Depends: cpprestsdk[core], atlmfc (windows), boost-log (!windows&!uwp), boost-locale (!windows&!uwp), libxml2 (!windows&!uwp), libuuid (!windows&!uwp&!osx), gettext (osx)
Description: Microsoft Azure Storage Client SDK for C++
A client library for working with Microsoft Azure storage services including blobs, files, tables, and queues. This client library enables working with the Microsoft Azure storage services which include the blob service for storing binary and text data, the file service for storing binary and text data, the table service for storing structured non-relational data, and the queue service for storing messages that may be accessed by a client.
Homepage: https://blogs.msdn.com/b/windowsazurestorage/
diff --git a/ports/azure-storage-cpp/portfile.cmake b/ports/azure-storage-cpp/portfile.cmake
index 6f6b4b39f..442afec74 100644
--- a/ports/azure-storage-cpp/portfile.cmake
+++ b/ports/azure-storage-cpp/portfile.cmake
@@ -1,8 +1,4 @@
-if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
- message(FATAL_ERROR "${PORT} does not currently support UWP")
-endif()
-
-include(vcpkg_common_functions)
+vcpkg_fail_port_install(ON_TARGET "UWP")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
@@ -19,7 +15,10 @@ vcpkg_configure_cmake(
-DCMAKE_FIND_FRAMEWORK=LAST
-DBUILD_TESTS=OFF
-DBUILD_SAMPLES=OFF
- -DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/include
+ OPTIONS_RELEASE
+ -DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/lib
+ OPTIONS_DEBUG
+ -DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/debug/lib
)
vcpkg_install_cmake()