aboutsummaryrefslogtreecommitdiffstats
path: root/host/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'host/CMakeLists.txt')
-rw-r--r--host/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index 52050cb51..17af21824 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -36,6 +36,7 @@ set(PYTHON_MIN_VERSION "3.5")
# Other deps
set(BOOST_MIN_VERSION "1.58")
set(NUMPY_MIN_VERSION "1.11")
+set(RUAMEL.YAML_MIN_VERSION "0.15")
set(PY_MAKO_MIN_VERSION "0.4.2")
set(PY_REQUESTS_MIN_VERSION "2.0")
@@ -334,6 +335,12 @@ PYTHON_CHECK_MODULE(
HAVE_PYTHON_MODULE_NUMPY
)
+PYTHON_CHECK_MODULE(
+ "ruamel.yaml ${RUAMEL.YAML_MIN_VERSION} or greater"
+ "ruamel.yaml" "LooseVersion(ruamel.yaml.__version__) >= LooseVersion('${RUAMEL.YAML_MIN_VERSION}')"
+ HAVE_PYTHON_MODULE_YAML
+)
+
########################################################################
# Create Uninstall Target
########################################################################