From 36d8a648f0cbc9bff9893b4e7612846097e76397 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Sat, 4 May 2019 22:19:09 +0200 Subject: [PATCH] external: glfw: reinstate export of GLFW_PKG_{DEPS,LIBS} We were doing this before, but it was deleted during the last GLFW update. Readd it to fix the associated macOS CI failure. Fixes: cd934c9f6 ("Update GLFW to 3.3.1") --- src/external/glfw/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/external/glfw/CMakeLists.txt b/src/external/glfw/CMakeLists.txt index 061618ee0..a9ed8554f 100644 --- a/src/external/glfw/CMakeLists.txt +++ b/src/external/glfw/CMakeLists.txt @@ -303,10 +303,12 @@ endif() # Export GLFW library dependencies #-------------------------------------------------------------------- foreach(arg ${glfw_PKG_DEPS}) - set(GLFW_PKG_DEPS "${GLFW_PKG_DEPS} ${arg}") + set(GLFW_PKG_DEPS "${GLFW_PKG_DEPS} ${arg}" CACHE INTERNAL + "GLFW pkg-config Requires.private") endforeach() foreach(arg ${glfw_PKG_LIBS}) - set(GLFW_PKG_LIBS "${GLFW_PKG_LIBS} ${arg}") + set(GLFW_PKG_LIBS "${GLFW_PKG_LIBS} ${arg}" CACHE INTERNAL + "GLFW pkg-config Libs.private") endforeach() #--------------------------------------------------------------------