summaryrefslogtreecommitdiffstats
path: root/Modules/FindGTK2.cmake
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2010-08-20 02:03:44 (GMT)
committerPhilip Lowman <philip@yhbt.com>2010-08-20 02:05:05 (GMT)
commit78289320dd40065864666432e0f7527e9b637157 (patch)
tree14e92a3c87906972b8bb9a5d7d3dfc2527a26082 /Modules/FindGTK2.cmake
parentc873a83b6c2bf359d984f1ada062e6f7a26e9695 (diff)
downloadCMake-78289320dd40065864666432e0f7527e9b637157.zip
CMake-78289320dd40065864666432e0f7527e9b637157.tar.gz
CMake-78289320dd40065864666432e0f7527e9b637157.tar.bz2
10688: FindGTK2.cmake doesn't auto-detect macports
Diffstat (limited to 'Modules/FindGTK2.cmake')
-rw-r--r--Modules/FindGTK2.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake
index 3b99ae2..4f341e7 100644
--- a/Modules/FindGTK2.cmake
+++ b/Modules/FindGTK2.cmake
@@ -66,7 +66,9 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
-# Version 1.0 (8/12/2010)
+# Version 1.1 (8/19/2010) (CMake 2.8.3)
+# * Add support for detecting GTK2 under macports (thanks to Gary Kramlich)
+# Version 1.0 (8/12/2010) (CMake 2.8.3)
# * Add support for detecting new pangommconfig.h header file
# (Thanks to Sune Vuorela & the Debian Project for the patch)
# * Add support for detecting fontconfig.h header
@@ -184,6 +186,8 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hdr)
/usr/openwin/lib
/sw/include
/sw/lib
+ /opt/local/include
+ /opt/local/lib
$ENV{GTKMM_BASEPATH}/include
$ENV{GTKMM_BASEPATH}/lib
[HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/include