diff options
author | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2013-07-31 16:29:16 (GMT) |
---|---|---|
committer | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2013-08-01 14:54:32 (GMT) |
commit | 73ba4e5030c0c6ea40643f67622b0e0b754651c8 (patch) | |
tree | f9e0f3d4230d90e3ff606b0c73d4968a7fbe69bc | |
parent | b341bf2178e3923636735ae1df53a33e5857df7d (diff) | |
download | CMake-73ba4e5030c0c6ea40643f67622b0e0b754651c8.zip CMake-73ba4e5030c0c6ea40643f67622b0e0b754651c8.tar.gz CMake-73ba4e5030c0c6ea40643f67622b0e0b754651c8.tar.bz2 |
FindGTK2: Detect pangoft2 and pangoxft libraries
-rw-r--r-- | Modules/FindGTK2.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake index f7d3bf8..77aac6d 100644 --- a/Modules/FindGTK2.cmake +++ b/Modules/FindGTK2.cmake @@ -77,7 +77,7 @@ # appropriate. A new set of _RELEASE variables was also added. # * Remove GTK2_SKIP_MARK_AS_ADVANCED option, as now the variables are # marked as advanced by SelectLibraryConfigurations -# * Detect gmodule library +# * Detect gmodule, pangoft2 and pangoxft libraries # Version 1.4 (10/4/2012) (CMake 2.8.10) # * 12596: Missing paths for FindGTK2 on NetBSD # * 12049: Fixed detection of GTK include files in the lib folder on @@ -478,6 +478,10 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS}) _GTK2_FIND_LIBRARY (GTK2_PANGOCAIRO pangocairo false true) + _GTK2_FIND_LIBRARY (GTK2_PANGOFT2 pangoft2 false true) + + _GTK2_FIND_LIBRARY (GTK2_PANGOXFT pangoxft false true) + _GTK2_FIND_INCLUDE_DIR(GTK2_GDK_PIXBUF gdk-pixbuf/gdk-pixbuf.h) _GTK2_FIND_LIBRARY (GTK2_GDK_PIXBUF gdk_pixbuf false true) |