diff options
| author | JackBoosY <47264268+JackBoosY@users.noreply.github.com> | 2019-04-16 01:59:09 +0800 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-04-15 10:59:09 -0700 |
| commit | 88dd0e7ddd63528f81cdb71c60e07cd7352e1241 (patch) | |
| tree | bf38404d30003d1cc81673b2c4b9673d0a171f55 /ports/libuuid | |
| parent | f912e8fe10fc8de50da17283d46a3064a2c8b285 (diff) | |
| download | vcpkg-88dd0e7ddd63528f81cdb71c60e07cd7352e1241.tar.gz vcpkg-88dd0e7ddd63528f81cdb71c60e07cd7352e1241.zip | |
[libuuid]Add warning to non-unix platform when building. (#5844)
* [libuuid]Add warning to non-unix platform when building.
* [azure-storage-cpp] Don't rely on vcpkg install of libuuid on OSX in favor of the built in version
* [azure-storage-cpp] Remove old patch
Diffstat (limited to 'ports/libuuid')
| -rw-r--r-- | ports/libuuid/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libuuid/portfile.cmake | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/libuuid/CONTROL b/ports/libuuid/CONTROL index 04bfbe47b..265fdeebf 100644 --- a/ports/libuuid/CONTROL +++ b/ports/libuuid/CONTROL @@ -1,3 +1,3 @@ Source: libuuid -Version: 1.0.3-1 +Version: 1.0.3-2 Description: Universally unique id library diff --git a/ports/libuuid/portfile.cmake b/ports/libuuid/portfile.cmake index 7989e830d..c5cd287f6 100644 --- a/ports/libuuid/portfile.cmake +++ b/ports/libuuid/portfile.cmake @@ -1,5 +1,9 @@ include(vcpkg_common_functions) +if (NOT ((VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux") OR (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin"))) + message(FATAL_ERROR "libuuid currently only supports unix platforms.") +endif() + set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libuuid-1.0.3) vcpkg_download_distfile(ARCHIVE URLS "http://sourceforge.net/projects/libuuid/files/libuuid-1.0.3.tar.gz" |
