ENH: Added case for Python 2.7.
This commit is contained in:
parent
d36c16a760
commit
1f369a71c8
|
@ -27,7 +27,7 @@ INCLUDE(CMakeFindFrameworks)
|
||||||
# Search for the python framework on Apple.
|
# Search for the python framework on Apple.
|
||||||
CMAKE_FIND_FRAMEWORKS(Python)
|
CMAKE_FIND_FRAMEWORKS(Python)
|
||||||
|
|
||||||
FOREACH(_CURRENT_VERSION 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
|
FOREACH(_CURRENT_VERSION 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
|
||||||
STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION})
|
STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION})
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
FIND_LIBRARY(PYTHON_DEBUG_LIBRARY
|
FIND_LIBRARY(PYTHON_DEBUG_LIBRARY
|
||||||
|
|
Loading…
Reference in New Issue