From 9dc18220400d9a6f4fe3e65ba73d77f4844d249a Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Mon, 20 Dec 2010 05:20:21 +0100 Subject: 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. --- cmake/FindJsonGlib.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') 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) -- cgit v1.2.3-70-g09d2