[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdeprint
From:       Bernhard Loos <nhuh.put () web ! de>
Date:       2007-08-13 22:35:03
Message-ID: 1187044503.804294.7229.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 699704 by bloos:

don't search for CUPS on Windows

 M  +8 -4      CMakeLists.txt  


--- trunk/KDE/kdelibs/kdeprint/CMakeLists.txt #699703:699704
@@ -17,11 +17,15 @@
 # so the checking for the software can be disabled via ccmake or -DWITH_<name>=OFF
 
 # we need a version of cups which has cupsDoAuthentication(), so we have to tell the \
                FindCups module so, Alex
-set(CUPS_REQUIRE_IPP_DELETE_ATTRIBUTE TRUE)
-set(CUPS_REQUIRE_CUPS_DO_AUTHENTICATION TRUE)
-macro_optional_find_package(Cups)
+if (NOT WIN32)
+    set(CUPS_REQUIRE_IPP_DELETE_ATTRIBUTE TRUE)
+    set(CUPS_REQUIRE_CUPS_DO_AUTHENTICATION TRUE)
+    macro_optional_find_package(Cups)
 
-macro_log_feature(CUPS_FOUND "CUPS" "The CUPS (Common UNIX Printing System)" \
"http://www.cups.org" FALSE "" "Provide CUPS support in kdeprint.") +    \
macro_log_feature(CUPS_FOUND "CUPS" "The CUPS (Common UNIX Printing System)" \
"http://www.cups.org" FALSE "" "Provide CUPS support in kdeprint.") +else (NOT WIN32)
+    set(CUPS_FOUND FALSE)
+endif (NOT WIN32)
 
 add_subdirectory( management )
 add_subdirectory( lpdunix )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic