summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2014-04-15 14:26:10 (GMT)
committerDaniele E. Domenichelli <daniele.domenichelli@iit.it>2014-04-15 14:26:13 (GMT)
commitef9366b0bbb19639244a06ac34c8a8ecd35e66e8 (patch)
treeb0265b6a63448e106b25008f420c1d4d0348a6bd
parent593b69c9dc9e692b198f1ddbf9251130e61a4679 (diff)
downloadCMake-ef9366b0bbb19639244a06ac34c8a8ecd35e66e8.zip
CMake-ef9366b0bbb19639244a06ac34c8a8ecd35e66e8.tar.gz
CMake-ef9366b0bbb19639244a06ac34c8a8ecd35e66e8.tar.bz2
FindGTK2: Add /usr/X11R6/ to include paths
Should fix builds on OpenBSD, see http://open.cdash.org/viewTest.php?onlyfailed&buildid=3286713
-rw-r--r--Modules/FindGTK2.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake
index a91da33..fecf929 100644
--- a/Modules/FindGTK2.cmake
+++ b/Modules/FindGTK2.cmake
@@ -267,6 +267,8 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hdr)
/usr/local/lib
/usr/lib64
/usr/lib
+ /usr/X11R6/include
+ /usr/X11R6/lib
/opt/gnome/include
/opt/gnome/lib
/opt/openwin/include