We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63e175c commit c04950aCopy full SHA for c04950a
src/CMakeLists.txt
@@ -23,7 +23,7 @@ if(BUILD_DOCUMENTATION)
23
# Set here the proper version of Python required to be able to build
24
# tarballs for each example
25
set(PYTHON_REQUIRED_VERSION 2.7)
26
- if(${PYTHON_VERSION_STRING} LESS ${PYTHON_REQUIRED_VERSION})
+ if(${PYTHON_VERSION_STRING} VERSION_LESS ${PYTHON_REQUIRED_VERSION})
27
message(SEND_ERROR "Building the documentation requires Python >= ${PYTHON_REQUIRED_VERSION}")
28
endif()
29
0 commit comments