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

List:       kde-commits
Subject:    koffice/tools
From:       Thomas Zander <zander () kde ! org>
Date:       2010-01-10 20:09:55
Message-ID: 1263154195.314670.4876.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1072735 by zander:

There already is an optional-add-dir, don't have an extra bool too

 M  +4 -10     CMakeLists.txt  


--- trunk/koffice/tools/CMakeLists.txt #1072734:1072735
@@ -3,17 +3,11 @@
 macro_optional_add_subdirectory( kthesaurus )
 macro_optional_add_subdirectory( quickprint )
 
-# set FOFFICE to TRUE, to compile simple office viewer
-set(FOFFICE FALSE)
+macro_optional_find_package(X11)
+if(X11_FOUND)
+  macro_optional_add_subdirectory( f-office )
+endif(X11_FOUND)
 
-if (FOFFICE)
-   macro_optional_find_package(X11)
-   if(X11_FOUND)
-      macro_optional_add_subdirectory( f-office )
-   endif(X11_FOUND)
-endif(FOFFICE)
-
-
 # strigi ships with the odfsaxanalyzer which does already fetch the meta-data of
 # odf files. Also the current implementations of the analyzers are deactivated
 # anyway. So, what would be needed is to connect somehow with KoStore or hook
[prev in list] [next in list] [prev in thread] [next in thread] 

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