aboutsummaryrefslogtreecommitdiff
path: root/ports/aws-lambda-cpp
diff options
context:
space:
mode:
authorCheney Wang <38240633+Cheney-W@users.noreply.github.com>2019-04-27 03:45:43 +0800
committerGriffin Downs <35574547+grdowns@users.noreply.github.com>2019-04-26 12:45:43 -0700
commita5a5e870aaa127f3533803c5c66ca253837efdcb (patch)
treef886c8e4a45212dc28621af3c0bdfc98ab572e6e /ports/aws-lambda-cpp
parent1c9d54363a86b8e2b3c57fd095722cf7461f6afa (diff)
downloadvcpkg-a5a5e870aaa127f3533803c5c66ca253837efdcb.tar.gz
vcpkg-a5a5e870aaa127f3533803c5c66ca253837efdcb.zip
[aws-lambda-cpp]Add warning to non-Linux platform when building (#6211)
* [aws-lambda-cpp]Add warning to non-Linux platform when building * Also allow osx builds * Correct Mac check * OR to AND
Diffstat (limited to 'ports/aws-lambda-cpp')
-rw-r--r--ports/aws-lambda-cpp/CONTROL2
-rw-r--r--ports/aws-lambda-cpp/portfile.cmake4
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/aws-lambda-cpp/CONTROL b/ports/aws-lambda-cpp/CONTROL
index fb45cc22d..048f28fac 100644
--- a/ports/aws-lambda-cpp/CONTROL
+++ b/ports/aws-lambda-cpp/CONTROL
@@ -1,4 +1,4 @@
Source: aws-lambda-cpp
-Version: 0.1.0
+Version: 0.1.0-1
Build-Depends: curl
Description: C++ Runtime for AWS Lambda.
diff --git a/ports/aws-lambda-cpp/portfile.cmake b/ports/aws-lambda-cpp/portfile.cmake
index 977c9bd40..4a4cddafd 100644
--- a/ports/aws-lambda-cpp/portfile.cmake
+++ b/ports/aws-lambda-cpp/portfile.cmake
@@ -1,5 +1,9 @@
include(vcpkg_common_functions)
+if(NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin")
+ message(FATAL_ERROR "aws-lambda-cpp currently only supports Linux and Mac platforms")
+endif()
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO awslabs/aws-lambda-cpp