From f80d2227ae18896cb91fd0036804d8bbe27d4d45 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Thu, 19 Aug 2010 03:28:43 +0000 Subject: Added ENABLE_DCMI cmake option to disable installation of DCMI ontologies due to licensing concerns in --- CMakeLists.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b62f262..069d106 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,9 +48,14 @@ endmacro(INSTALL_ONTOLOGY) # base ontologies install_ontology(base/rdf core) install_ontology(base/rdfs core) -install_ontology(base/dcterms dc) -install_ontology(base/dctype dc) -install_ontology(base/dces dc) + +option(ENABLE_DCMI + "enable DCMI ontologies. This installs DCMI ontologies (http://dublincore.org/)." ON) +if(ENABLE_DCMI) + install_ontology(base/dcterms dc) + install_ontology(base/dctype dc) + install_ontology(base/dces dc) +endif(ENABLE_DCMI) # Nepomuk base ontologies install_ontology(nrl/nrl nepomuk) -- cgit v1.2.3