Browse Source

FindGTK2: Search homebrew paths for arch-specific headers

Without this, CMake fails to find brew-installed GTK2 on macOS.
With it, GTK2 is found.
Dominic Hamon 3 years ago
parent
commit
899390fd7b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Modules/FindGTK2.cmake

+ 1 - 0
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