Dafine G_DISABLE_SINGLE_INCLUDES while compiling. This mimics a patch
authorJörg Mayer <jmayer@loplof.de>
Thu, 1 Dec 2011 02:31:47 +0000 (02:31 -0000)
committerJörg Mayer <jmayer@loplof.de>
Thu, 1 Dec 2011 02:31:47 +0000 (02:31 -0000)
that has been in configure.in for quite some while.

svn path=/trunk/; revision=40056

CMakeLists.txt

index 44b30dd916a6873f7595931ab3202812e9ee2763..9cee0981587925eb63e261a670adf6ae2ea7de6e 100644 (file)
@@ -161,6 +161,7 @@ endif()
 add_definitions(
        -DHAVE_CONFIG_H
        -DG_DISABLE_DEPRECATED
+       -DG_DISABLE_SINGLE_INCLUDES
 )
 
 # Counterhack to work around some cache magic in CHECK_C_SOURCE_COMPILES