[pixel] Add warning message on Linux

This commit is contained in:
NancyLi1013 2020-03-31 20:34:37 -07:00
parent b79f7675aa
commit 276401d741
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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