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.
This commit is contained in:
		@@ -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)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user