Skip to content

Commit

Permalink
Remove version constraint on Python (#163)
Browse files Browse the repository at this point in the history
Remove version constraint on Python so that it's compatible with Python 3
  • Loading branch information
cmpute authored Jan 14, 2021
1 parent c19c5f6 commit ab78825
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ else()
message(FATAL_ERROR "Swig not found!\n")
endif()

find_package(PythonInterp 2.7 REQUIRED)
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonInterp REQUIRED)
find_package(PythonLibs REQUIRED)
if (PYTHONLIBS_FOUND)
message(STATUS "Python header found at ${PYTHON_INCLUDE_DIRS}")
message(STATUS "Python library found at ${PYTHON_LIBRARIES}")
Expand Down

0 comments on commit ab78825

Please sign in to comment.