Skip to content

Commit 2feb891

Browse files
aphecetchekostorr
authored andcommitted
Improve Python3 detection
1 parent 4b90be3 commit 2feb891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ENDIF()
5858
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
5959

6060
if(NOT APPLE)
61-
find_package(Python3 3.6 COMPONENTS Development)
61+
find_package(Python3 3.6 COMPONENTS Interpreter Development)
6262
if(Python3_FOUND)
6363
set(boost_python_component "python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR}")
6464
else()

0 commit comments

Comments
 (0)