Skip to content

Commit

Permalink
FIX #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiri Hoogland committed Jul 14, 2019
1 parent 4153da0 commit 4662c47
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions FindPythonAnaconda.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ if(NOT CMAKE_FIND_ANACONDA_PYTHON_INCLUDED)
message("_e = ${_e}")
endif()

string (REGEX MATCH "Python ([0-9]+)[.]([0-9]+)[.]([0-9]+)" _py_version_found "${_o}")
#message("_py_version_found = ${_py_version_found}")
#message("CMAKE_MATCH_0 = ${CMAKE_MATCH_0}")
string (REGEX MATCH "Python ([0-9]+)[.]([0-9]+)[.]([0-9]+)" _py_version_found "${_e}")
set( _py_version_major ${CMAKE_MATCH_1} )
set( _py_version_minor ${CMAKE_MATCH_2} )
set( _py_version_patch ${CMAKE_MATCH_3} )
Expand Down

0 comments on commit 4662c47

Please sign in to comment.