diff options
author | Dominic Hamon <dma+github@stripysock.com> | 2022-08-09 05:02:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-08-09 13:25:23 (GMT) |
commit | 899390fd7b3ca916b020f643d5c195c6c625143e (patch) | |
tree | 9fa859a4437d58d43f5c912f9e95d39526a3c857 /Modules/FindGTK2.cmake | |
parent | 241fc839d56ccd666fe41269e291b8d8190cf97b (diff) | |
download | CMake-899390fd7b3ca916b020f643d5c195c6c625143e.zip CMake-899390fd7b3ca916b020f643d5c195c6c625143e.tar.gz CMake-899390fd7b3ca916b020f643d5c195c6c625143e.tar.bz2 |
FindGTK2: Search homebrew paths for arch-specific headers
Without this, CMake fails to find brew-installed GTK2 on macOS.
With it, GTK2 is found.
Diffstat (limited to 'Modules/FindGTK2.cmake')
-rw-r--r-- | Modules/FindGTK2.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
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 |