Skip to content

Commit 2087f76

Browse files
Removed decimal version converter due to unexpectable versions
1 parent c3849ec commit 2087f76

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: cMake/FindMatplotlib.cmake

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
# MATPLOTLIB_VERSION_MAJOR - the major version number of matplotlib
88
# MATPLOTLIB_VERSION_MINOR - the minor version number of matplotlib
99
# MATPLOTLIB_VERSION_PATCH - the patch version number of matplotlib
10-
# MATPLOTLIB_VERSION_DECIMAL - e.g. version 1.1.1r is 10101
11-
# MATPLOTLIB_PATH_DIRS - path to the matplotlib include files
10+
# MATPLOTLIB_PATH_DIRS - path to the matplotlib include files
1211

1312
IF(PYTHONINTERP_FOUND)
1413
# Try to import matplotlib into Python interpreter. Python
@@ -38,8 +37,6 @@ IF(PYTHONINTERP_FOUND)
3837
list(GET _MATPLOTLIB_VERSION_LIST 0 MATPLOTLIB_VERSION_MAJOR)
3938
list(GET _MATPLOTLIB_VERSION_LIST 1 MATPLOTLIB_VERSION_MINOR)
4039
list(GET _MATPLOTLIB_VERSION_LIST 2 MATPLOTLIB_VERSION_PATCH)
41-
math(EXPR MATPLOTLIB_VERSION_DECIMAL
42-
"(${MATPLOTLIB_VERSION_MAJOR} * 10000) + (${MATPLOTLIB_VERSION_MINOR} * 100) + ${MATPLOTLIB_VERSION_PATCH}")
4340
ELSE()
4441
set(MATPLOTLIB_FOUND FALSE)
4542
ENDIF()

0 commit comments

Comments
 (0)