Commit a1a3284a authored by Morten Ofstad's avatar Morten Ofstad
Browse files

Merge branch feature/morten/FixBreatheVersionCheck with refs/heads/master into...

Merge branch feature/morten/FixBreatheVersionCheck with refs/heads/master into refs/merge-requests/154/train
parents 16a5e1d1 f20eac41
Pipeline #2170 passed with stages
in 3 minutes and 1 second
......@@ -4,7 +4,7 @@ find_package(Sphinx REQUIRED)
set(PYTHON_DEP_STRING "Please install Python package breathe (at least version 4.18.0), recommonmark sphinx_markdown_tables and sphinx_rtd_theme.")
execute_process(COMMAND ${Python3_EXECUTABLE} -c "from packaging import version; import sys; import breathe; sys.exit(version.parse(\"4.18.0\") >= version.parse(breathe.__version__))" RESULT_VARIABLE ret)
execute_process(COMMAND ${Python3_EXECUTABLE} -c "from packaging import version; import sys; import breathe; sys.exit(version.parse(\"4.18.0\") > version.parse(breathe.__version__))" RESULT_VARIABLE ret)
if (ret)
message(FATAL_ERROR "Missing Documentation dependency breathe. ${PYTHON_DEP_STRING}")
endif()
......
......@@ -5,4 +5,4 @@ sphinx
breathe
recommonmark
sphinx-markdown-tables
sphinx_rtd_theme
sphinx-rtd-theme
Supports Markdown
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