aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2020-04-24 14:12:50 -0700
committerGitHub <noreply@github.com>2020-04-24 14:12:50 -0700
commitd0531aac1f44cdc1ae6987e7b0b4f60c72304994 (patch)
treef9536b10f7ea50403a527991c2c6c3da4c9c8659
parenta048cffdf3c7ae52253fb14ca10a47647d4eb90b (diff)
parent276401d741c39fbe4daecb7bf7c496877d058e15 (diff)
downloadvcpkg-d0531aac1f44cdc1ae6987e7b0b4f60c72304994.tar.gz
vcpkg-d0531aac1f44cdc1ae6987e7b0b4f60c72304994.zip
[pixel] Add warning message on Linux (#10638)
-rw-r--r--ports/pixel/CONTROL4
-rw-r--r--ports/pixel/portfile.cmake7
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