Skip to content
Snippets Groups Projects
Commit ce8e8d47 authored by Markus Blatt's avatar Markus Blatt
Browse files

[cmake,bugfix] Do use a version when there is not version in the depends or

Previously, we used >=0.0. if there was no version information in the
dependes and suggests clause of a dune.module file. This breaks with
the new more strict version checking. Therefore with this revision no
version gets set if it does not appear in dune.module
parent b58b8475
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,7 @@ macro(split_module_version STRING MODULES VERSIONS)
string(REGEX REPLACE "^\\([ ]*([^ ]*[ ]*[^ ]+)[ ]*\\)$" "\\1"
version ${have_version})
else(have_version)
set(version >=0.0)
set(version "")
endif(have_version)
list(APPEND ${MODULES} ${mod})
list(APPEND ${VERSIONS} ${version})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment