diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2021-07-08 00:26:06 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-07 09:26:06 -0700 |
| commit | 959e4c61cde41578a48207001024428d1744fd22 (patch) | |
| tree | dbcdda872db07107d2c71e2753e3200dd7218e77 /ports | |
| parent | fb0fcec3b25a424e4f70c3dc634c77699bdcfdca (diff) | |
| download | vcpkg-959e4c61cde41578a48207001024428d1744fd22.tar.gz vcpkg-959e4c61cde41578a48207001024428d1744fd22.zip | |
[glew] Improve messages for system opengl dependency (#18672)
* [glew] Fix the dependency
* Update baseline version
* Adress the review suggestions
* Update the baseline revision
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/glew/CONTROL | 6 | ||||
| -rw-r--r-- | ports/glew/portfile.cmake | 4 | ||||
| -rw-r--r-- | ports/glew/vcpkg.json | 10 |
3 files changed, 14 insertions, 6 deletions
diff --git a/ports/glew/CONTROL b/ports/glew/CONTROL deleted file mode 100644 index 5d8250fd5..000000000 --- a/ports/glew/CONTROL +++ /dev/null @@ -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 diff --git a/ports/glew/portfile.cmake b/ports/glew/portfile.cmake index 6ca6591d9..5dd0c03ce 100644 --- a/ports/glew/portfile.cmake +++ b/ports/glew/portfile.cmake @@ -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 diff --git a/ports/glew/vcpkg.json b/ports/glew/vcpkg.json new file mode 100644 index 000000000..22271d883 --- /dev/null +++ b/ports/glew/vcpkg.json @@ -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" + ] +} |
