mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 04:43:02 +08:00
[glew] Improve messages for system opengl dependency (#18672)
* [glew] Fix the dependency * Update baseline version * Adress the review suggestions * Update the baseline revision
This commit is contained in:
parent
fb0fcec3b2
commit
959e4c61cd
@ -1,6 +0,0 @@
|
||||
Source: glew
|
||||
Version: 2.1.0
|
||||
Port-Version: 10
|
||||
Description: The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library.
|
||||
Homepage: https://github.com/nigels-com/glew
|
||||
Build-Depends: opengl
|
@ -1,3 +1,7 @@
|
||||
if(VCPKG_TARGET_IS_LINUX)
|
||||
message(WARNING "${PORT} requires the following libraries from the system package manager:\n libxmu-dev\n libxi-dev\n libgl-dev\n\nThese can be installed on Ubuntu systems via apt-get install libxmu-dev libxi-dev libgl-dev.")
|
||||
endif()
|
||||
|
||||
# Don't change to vcpkg_from_github! The sources in the git repository (archives) are missing some files that are distributed inside releases.
|
||||
# More info: https://github.com/nigels-com/glew/issues/31 and https://github.com/nigels-com/glew/issues/13
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
|
10
ports/glew/vcpkg.json
Normal file
10
ports/glew/vcpkg.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "glew",
|
||||
"version-string": "2.1.0",
|
||||
"port-version": 11,
|
||||
"description": "The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library.",
|
||||
"homepage": "https://github.com/nigels-com/glew",
|
||||
"dependencies": [
|
||||
"opengl"
|
||||
]
|
||||
}
|
@ -2294,7 +2294,7 @@
|
||||
},
|
||||
"glew": {
|
||||
"baseline": "2.1.0",
|
||||
"port-version": 10
|
||||
"port-version": 11
|
||||
},
|
||||
"glfw3": {
|
||||
"baseline": "3.3.4",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "622e27b2a746c088f0acd2f98445c0968f485a69",
|
||||
"version-string": "2.1.0",
|
||||
"port-version": 11
|
||||
},
|
||||
{
|
||||
"git-tree": "c87d7f619c69630fa4d1bd0bf3767f0d31ef22d6",
|
||||
"version-string": "2.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user