mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 18:47:09 +01:00
[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
This commit is contained in:
parent
1c9d54363a
commit
a5a5e870aa
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user