Skip to content

Commit

Permalink
remove useless Python version variable
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 29, 2017
1 parent 1f22df7 commit 6575a60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Expand Up @@ -630,9 +630,7 @@ ENDIF (DISABLE_DEPRECATED)
#############################################################
# Python build dependency

SET(PYTHON_VER 3 CACHE STRING "Python version")

FIND_PACKAGE(PythonInterp ${PYTHON_VER} REQUIRED)
FIND_PACKAGE(PythonInterp 3 REQUIRED)

#############################################################
# Python bindings
Expand Down
2 changes: 1 addition & 1 deletion cmake/UsePythonTest.cmake
Expand Up @@ -20,7 +20,7 @@
#

# Need python interpreter:
FIND_PACKAGE(PythonInterp ${PYTHON_VER} REQUIRED)
FIND_PACKAGE(PythonInterp 3 REQUIRED)
MARK_AS_ADVANCED(PYTHON_EXECUTABLE)

MACRO(ADD_PYTHON_TEST TESTNAME FILENAME)
Expand Down

0 comments on commit 6575a60

Please sign in to comment.