Merge topic 'FindGTK2_10688'

7828932 10688: FindGTK2.cmake doesn't auto-detect macports
This commit is contained in:
Brad King 2010-09-01 08:42:18 -04:00 committed by CMake Topic Stage
commit 8e76221754
1 changed files with 5 additions and 1 deletions

View File

@ -66,7 +66,9 @@
# (To distribute this file outside of CMake, substitute the full # (To distribute this file outside of CMake, substitute the full
# License text for the above reference.) # 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 # * Add support for detecting new pangommconfig.h header file
# (Thanks to Sune Vuorela & the Debian Project for the patch) # (Thanks to Sune Vuorela & the Debian Project for the patch)
# * Add support for detecting fontconfig.h header # * Add support for detecting fontconfig.h header
@ -184,6 +186,8 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hdr)
/usr/openwin/lib /usr/openwin/lib
/sw/include /sw/include
/sw/lib /sw/lib
/opt/local/include
/opt/local/lib
$ENV{GTKMM_BASEPATH}/include $ENV{GTKMM_BASEPATH}/include
$ENV{GTKMM_BASEPATH}/lib $ENV{GTKMM_BASEPATH}/lib
[HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/include [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/include