Skip to content

Commit 87be5eb

Browse files
committed
remove python 2 support
1 parent c276227 commit 87be5eb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,6 @@ if(NOT APPLE)
7878
find_package(Python3 3.6 COMPONENTS Interpreter Development)
7979
if(Python3_FOUND)
8080
set(boost_python_component "python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR}")
81-
else()
82-
# Backwards compatible. Can be removed once the Python3 recipe is stable
83-
message(WARNING "Python 3 was not found: falling back to Python 2")
84-
find_package(Python2 2.7 COMPONENTS Development REQUIRED)
85-
set(boost_python_component "python27")
8681
endif()
8782
endif()
8883

0 commit comments

Comments
 (0)