From 899390fd7b3ca916b020f643d5c195c6c625143e Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Mon, 8 Aug 2022 22:02:54 -0700 Subject: FindGTK2: Search homebrew paths for arch-specific headers Without this, CMake fails to find brew-installed GTK2 on macOS. With it, GTK2 is found. --- Modules/FindGTK2.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake index 00bfc29..4634876 100644 --- a/Modules/FindGTK2.cmake +++ b/Modules/FindGTK2.cmake @@ -313,6 +313,7 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hdr) /usr/openwin/lib /sw/lib /opt/local/lib + /opt/homebrew/lib /usr/pkg/lib /usr/pkg/include/glib $ENV{GTKMM_BASEPATH}/include -- cgit v0.12