diff options
author | Evgeny Egorochkin <phreedom.stdin@gmail.com> | 2010-08-19 03:28:43 +0000 |
---|---|---|
committer | Evgeny Egorochkin <phreedom.stdin@gmail.com> | 2010-08-19 03:28:43 +0000 |
commit | f80d2227ae18896cb91fd0036804d8bbe27d4d45 (patch) | |
tree | 94a767bb5d5f7ac27bd9dee2278caba736152e6c | |
parent | 1b3d00f78e933cb828c4b499010b82d74334a971 (diff) |
Added ENABLE_DCMI cmake option to disable installation of DCMI ontologies due to licensing concerns in
-rw-r--r-- | CMakeLists.txt | 11 |
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 @@ -45,15 +45,20 @@ macro(INSTALL_ONTOLOGY _name _group) install(FILES "${_name}.trig" DESTINATION ${ONTO_INSTALL_DIR}) 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) install_ontology(nao/nao nepomuk) # NIE |