Skip to content

Commit 1767983

Browse files
authored
Merge pull request #80 from dzenanz/master
BUG: fixing CMake configure error
2 parents 63e175c + c04950a commit 1767983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if(BUILD_DOCUMENTATION)
2323
# Set here the proper version of Python required to be able to build
2424
# tarballs for each example
2525
set(PYTHON_REQUIRED_VERSION 2.7)
26-
if(${PYTHON_VERSION_STRING} LESS ${PYTHON_REQUIRED_VERSION})
26+
if(${PYTHON_VERSION_STRING} VERSION_LESS ${PYTHON_REQUIRED_VERSION})
2727
message(SEND_ERROR "Building the documentation requires Python >= ${PYTHON_REQUIRED_VERSION}")
2828
endif()
2929
endif()

0 commit comments

Comments
 (0)