Skip to content
Permalink
Browse files

remove useless Python version variable

  • Loading branch information
3nids committed May 29, 2017
1 parent 1f22df7 commit 6575a60ae2895a17757f460c29672d59891fa570
Showing with 2 additions and 4 deletions.
  1. +1 −3 CMakeLists.txt
  2. +1 −1 cmake/UsePythonTest.cmake
@@ -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
@@ -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)

0 comments on commit 6575a60

Please sign in to comment.
You can’t perform that action at this time.