aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackBoosY <47264268+JackBoosY@users.noreply.github.com>2019-08-26 11:31:55 +0800
committerCurtis J Bezault <curtbezault@gmail.com>2019-08-25 20:31:55 -0700
commite417ff69b746f7842b3b9d0fceacb080498e1c5d (patch)
tree6255e49a35df694baf8989a341ec9612ef677989
parentf757b531a6e6bdbe3bddda6ccb452a2884ae92b2 (diff)
downloadvcpkg-e417ff69b746f7842b3b9d0fceacb080498e1c5d.tar.gz
vcpkg-e417ff69b746f7842b3b9d0fceacb080498e1c5d.zip
[glfw3]Add more information about installing dependencies. (#7885)
-rw-r--r--ports/glfw3/CONTROL2
-rw-r--r--ports/glfw3/portfile.cmake6
2 files changed, 5 insertions, 3 deletions
diff --git a/ports/glfw3/CONTROL b/ports/glfw3/CONTROL
index 6cbc41564..48a13de9e 100644
--- a/ports/glfw3/CONTROL
+++ b/ports/glfw3/CONTROL
@@ -1,4 +1,4 @@
Source: glfw3
-Version: 3.3-1
+Version: 3.3-2
Homepage: https://github.com/glfw/glfw
Description: GLFW is a free, Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.
diff --git a/ports/glfw3/portfile.cmake b/ports/glfw3/portfile.cmake
index c8948628f..ae4cbabef 100644
--- a/ports/glfw3/portfile.cmake
+++ b/ports/glfw3/portfile.cmake
@@ -9,13 +9,15 @@ vcpkg_from_github(
PATCHES move-cmake-min-req.patch
)
-if(VCPKG_CMAKE_SYSTEM_NAME AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+if(NOT VCPKG_TARGET_IS_WINDOWS)
message(
"GLFW3 currently requires the following libraries from the system package manager:
xinerama
xcursor
+ xorg
+ libglu1-mesa
-These can be installed on Ubuntu systems via sudo apt install libxinerama-dev libxcursor-dev")
+These can be installed on Ubuntu systems via sudo apt install libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev")
endif()
vcpkg_configure_cmake(