aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNancyLi1013 <lirui09@beyondsoft.com>2020-03-31 20:34:37 -0700
committerNancyLi1013 <lirui09@beyondsoft.com>2020-03-31 20:35:49 -0700
commit276401d741c39fbe4daecb7bf7c496877d058e15 (patch)
treeff07e491fac7dca4fe9c1eeeef5def808ab544a4
parentb79f7675aaa82eb6c5a96ae764fb1ce379a9d5d6 (diff)
downloadvcpkg-276401d741c39fbe4daecb7bf7c496877d058e15.tar.gz
vcpkg-276401d741c39fbe4daecb7bf7c496877d058e15.zip
[pixel] Add warning message on Linux
-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