aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2010-12-20 05:20:21 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2010-12-20 05:20:21 +0100
commit9dc18220400d9a6f4fe3e65ba73d77f4844d249a (patch)
tree1b30d6221c167df02c345dde1acf4da18ee621ff /cmake
parentb44b3e6a544c239e7581c72e73b4c5b089ffcff0 (diff)
downloadlogdiag-9dc18220400d9a6f4fe3e65ba73d77f4844d249a.tar.gz
logdiag-9dc18220400d9a6f4fe3e65ba73d77f4844d249a.tar.xz
logdiag-9dc18220400d9a6f4fe3e65ba73d77f4844d249a.zip
Fix problems discovered while testing on Windows.
* Set the working directory for glib-genmarshal correctly. * Use one more path suffix when searching for glibconfig.h. * Don't assume that gdk_screen_get_resolution() returns a useful value.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindJsonGlib.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindJsonGlib.cmake b/cmake/FindJsonGlib.cmake
index e07ac75..ab19c10 100644
--- a/cmake/FindJsonGlib.cmake
+++ b/cmake/FindJsonGlib.cmake
@@ -38,7 +38,7 @@ find_path (JSON_GLIB_INCLUDE_DIR_GOBJECT glib-object.h
find_path (JSON_GLIB_INCLUDE_DIR_GLIBCONFIG glibconfig.h
PATHS /usr/lib
- PATH_SUFFIXES glib-2.0/include)
+ PATH_SUFFIXES glib-2.0 glib-2.0/include)
find_library (JSON_GLIB_LIBRARIES json-glib-1.0)