]> Dogcows Code - chaz/tint2/commitdiff
*fix* cmake-2.6 seems to have problems with if (NOT (expression)) so we use deMorgan...
authorAndreas Fink <andreas.fink85@googlemail.com>
Thu, 22 Jul 2010 12:14:11 +0000 (12:14 +0000)
committerAndreas Fink <andreas.fink85@googlemail.com>
Thu, 22 Jul 2010 12:14:11 +0000 (12:14 +0000)
CMakeLists.txt

index 496f9f78cd2fb4a82141b0cf9ec0c4ed561e4901..3c41921d23b9d4d630a8f08494befce730a80a5e 100644 (file)
@@ -12,9 +12,9 @@ pkg_check_modules( GOBJECT2 REQUIRED gobject-2.0 )
 pkg_check_modules( IMLIB2 REQUIRED imlib2 )
 find_library( RT_LIBRARY rt )
 
-if( NOT (X11_FOUND AND PANGOCAIRO_FOUND AND PANGO_FOUND AND CAIRO_FOUND AND GLIB2_FOUND AND GOBJECT2_FOUND AND IMLIB2_FOUND) )
+if( NOT X11_FOUND OR NOT PANGOCAIRO_FOUND OR NOT PANGO_FOUND OR NOT CAIRO_FOUND OR NOT GLIB2_FOUND OR NOT GOBJECT2_FOUND OR NOT IMLIB2_FOUND )
   message( FATAL_ERROR "Not all dependencies fulfilled. See http://code.google.com/p/tint2/wiki/Install" )
-endif( NOT (X11_FOUND AND PANGOCAIRO_FOUND AND PANGO_FOUND AND CAIRO_FOUND AND GLIB2_FOUND AND GOBJECT2_FOUND AND IMLIB2_FOUND) )
+endif( NOT X11_FOUND OR NOT PANGOCAIRO_FOUND OR NOT PANGO_FOUND OR NOT CAIRO_FOUND OR NOT GLIB2_FOUND OR NOT GOBJECT2_FOUND OR NOT IMLIB2_FOUND )
 
 string( REPLACE ";" " " FLAGS_REPLACED "${IMLIB2_LDFLAGS}" )
 set( CMAKE_REQUIRED_FLAGS "${FLAGS_REPLACED}" )
This page took 0.028818 seconds and 4 git commands to generate.