summaryrefslogtreecommitdiff
authorEvgeny Egorochkin <phreedom.stdin@gmail.com>2010-08-19 03:28:43 (GMT)
committer Evgeny Egorochkin <phreedom.stdin@gmail.com>2010-08-19 03:28:43 (GMT)
commitf80d2227ae18896cb91fd0036804d8bbe27d4d45 (patch) (side-by-side diff)
tree94a767bb5d5f7ac27bd9dee2278caba736152e6c
parent1b3d00f78e933cb828c4b499010b82d74334a971 (diff)
downloadshared-desktop-ontologies-f80d2227ae18896cb91fd0036804d8bbe27d4d45.zip
shared-desktop-ontologies-f80d2227ae18896cb91fd0036804d8bbe27d4d45.tar.gz
Added ENABLE_DCMI cmake option to disable installation of DCMI ontologies due to licensing concerns in
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--CMakeLists.txt11
1 files 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)