Commit 18f57934 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Set vars depending on which product is build only once that is decided

parent 0ee0f00c
......@@ -396,8 +396,6 @@ macro_optional_find_package(Soprano)
macro_log_feature(Soprano_FOUND "Soprano" "KDE4 RDF handling library" "http://soprano.sourceforge.net/" FALSE "" "Required to handle RDF metadata in ODF")
if(NOT Soprano_FOUND)
set(SOPRANO_INCLUDE_DIR "")
else(NOT Soprano_FOUND)
add_definitions( -DSHOULD_BUILD_RDF )
endif(NOT Soprano_FOUND)
......@@ -912,6 +910,15 @@ calligra_drop_products_on_old_flag(words WORDS_PART WORDS_APP)
calligra_drop_unbuildable_products()
#############################################
#### Setup product-depending vars ####
#############################################
if(SHOULD_BUILD_RDF)
add_definitions( -DSHOULD_BUILD_RDF )
endif(SHOULD_BUILD_RDF)
###################
####################
## Subdirectories ##
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment