From 276401d741c39fbe4daecb7bf7c496877d058e15 Mon Sep 17 00:00:00 2001 From: NancyLi1013 Date: Tue, 31 Mar 2020 20:34:37 -0700 Subject: [PATCH] [pixel] Add warning message on Linux --- ports/pixel/CONTROL | 4 +++- ports/pixel/portfile.cmake | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ports/pixel/CONTROL b/ports/pixel/CONTROL index 50b1bd0a8..fae73d2fd 100644 --- a/ports/pixel/CONTROL +++ b/ports/pixel/CONTROL @@ -1,4 +1,6 @@ Source: pixel -Version: 0.3 +Version: 0.3-1 Description: Simple 2D Graphics based on standard and portable OpenGL. Build-Depends: glew, opengl, sdl2 +Homepage: https://github.com/dascandy/pixel +Supports: !windows \ No newline at end of file diff --git a/ports/pixel/portfile.cmake b/ports/pixel/portfile.cmake index 4e2e9d7ac..0b63c66f7 100644 --- a/ports/pixel/portfile.cmake +++ b/ports/pixel/portfile.cmake @@ -1,4 +1,9 @@ -include(vcpkg_common_functions) +vcpkg_fail_port_install(ON_TARGET "Windows") + +if(VCPKG_TARGET_IS_LINUX) + message(WARNING"${PORT} currently requires libglu1-mesa from the system package manager: + This can be installed on Ubuntu systems via sudo apt install libglu1-mesa-dev") +endif() vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH