From 2087f76b8d34b00840065aff30dcacaa9a55f0d0 Mon Sep 17 00:00:00 2001 From: Jose Luis Cercos Pita Date: Mon, 29 Oct 2012 20:54:08 +0100 Subject: [PATCH] Removed decimal version converter due to unexpectable versions --- cMake/FindMatplotlib.cmake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cMake/FindMatplotlib.cmake b/cMake/FindMatplotlib.cmake index ef2c831a51..04ef34996e 100644 --- a/cMake/FindMatplotlib.cmake +++ b/cMake/FindMatplotlib.cmake @@ -7,8 +7,7 @@ # MATPLOTLIB_VERSION_MAJOR - the major version number of matplotlib # MATPLOTLIB_VERSION_MINOR - the minor version number of matplotlib # MATPLOTLIB_VERSION_PATCH - the patch version number of matplotlib -# MATPLOTLIB_VERSION_DECIMAL - e.g. version 1.1.1r is 10101 -# MATPLOTLIB_PATH_DIRS - path to the matplotlib include files +# MATPLOTLIB_PATH_DIRS - path to the matplotlib include files IF(PYTHONINTERP_FOUND) # Try to import matplotlib into Python interpreter. Python @@ -38,8 +37,6 @@ IF(PYTHONINTERP_FOUND) list(GET _MATPLOTLIB_VERSION_LIST 0 MATPLOTLIB_VERSION_MAJOR) list(GET _MATPLOTLIB_VERSION_LIST 1 MATPLOTLIB_VERSION_MINOR) list(GET _MATPLOTLIB_VERSION_LIST 2 MATPLOTLIB_VERSION_PATCH) - math(EXPR MATPLOTLIB_VERSION_DECIMAL - "(${MATPLOTLIB_VERSION_MAJOR} * 10000) + (${MATPLOTLIB_VERSION_MINOR} * 100) + ${MATPLOTLIB_VERSION_PATCH}") ELSE() set(MATPLOTLIB_FOUND FALSE) ENDIF()