From 23c82b085189b320d511edc9e7d8a061d49506ff Mon Sep 17 00:00:00 2001 From: Mengna Li <95600143+Adela0814@users.noreply.github.com> Date: Fri, 21 Oct 2022 03:49:29 +0800 Subject: [PATCH] Add message to install pkg-config (#27297) --- ports/glfw3/portfile.cmake | 13 ++++++++++++- ports/glfw3/vcpkg.json | 1 + versions/baseline.json | 2 +- versions/g-/glfw3.json | 5 +++++ 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/ports/glfw3/portfile.cmake b/ports/glfw3/portfile.cmake index ac85f54fb4..6de23f8e2b 100644 --- a/ports/glfw3/portfile.cmake +++ b/ports/glfw3/portfile.cmake @@ -13,8 +13,19 @@ if(VCPKG_TARGET_IS_LINUX) xcursor xorg libglu1-mesa + pkg-config -These can be installed on Ubuntu systems via sudo apt install libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev") +These can be installed on Ubuntu systems via sudo apt install libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev pkg-config") +else(VCPKG_TARGET_IS_OSX) + message( +"GLFW3 currently requires the following libraries from the system package manager: + xinerama + xcursor + xorg + libglu1-mesa + pkg-config + +These can be installed via brew install libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev pkg-config") endif() vcpkg_cmake_configure( diff --git a/ports/glfw3/vcpkg.json b/ports/glfw3/vcpkg.json index b10ace797c..88b9dbbd98 100644 --- a/ports/glfw3/vcpkg.json +++ b/ports/glfw3/vcpkg.json @@ -1,6 +1,7 @@ { "name": "glfw3", "version-semver": "3.3.8", + "port-version": 1, "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.", "homepage": "https://github.com/glfw/glfw", "license": "Zlib", diff --git a/versions/baseline.json b/versions/baseline.json index 965ffb4e4b..539269c2a4 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2642,7 +2642,7 @@ }, "glfw3": { "baseline": "3.3.8", - "port-version": 0 + "port-version": 1 }, "gli": { "baseline": "2021-07-06", diff --git a/versions/g-/glfw3.json b/versions/g-/glfw3.json index 6c3ec39af2..49c41236dd 100644 --- a/versions/g-/glfw3.json +++ b/versions/g-/glfw3.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "7e79d23866b44b1f40d766b690baa6f1d9cca7fd", + "version-semver": "3.3.8", + "port-version": 1 + }, { "git-tree": "a2a1ebc7845c0e8e6c7d46c0b940f4457cf460d8", "version-semver": "3.3.8",