diff --git a/CMakeLists.txt b/CMakeLists.txt index b6fecd1..183ba1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,7 +152,7 @@ if(NOT EXISTS "${PROJECT_SOURCE_DIR}/extern/drgn") endif() ### Select Python version -find_program(PYTHON NAMES python3.8 python3) +find_program(PYTHON NAMES python3.9 python3) add_library(folly_headers INTERFACE) target_include_directories(folly_headers SYSTEM INTERFACE ${folly_SOURCE_DIR}) diff --git a/test/integration/CMakeLists.txt b/test/integration/CMakeLists.txt index 4d235b5..aee09ad 100644 --- a/test/integration/CMakeLists.txt +++ b/test/integration/CMakeLists.txt @@ -28,7 +28,7 @@ add_link_options(-no-pie) set(INTEGRATION_TEST_TARGET_SRC integration_test_target.cpp) set(INTEGRATION_TEST_RUNNER_SRC integration_test_runner.cpp) -find_program(PYTHON_CMD NAMES python3.6 python3) +find_program(PYTHON_CMD NAMES python3.9 python3) set(INTEGRATION_TEST_THRIFT_SRCS ${THRIFT_TESTS}) list(TRANSFORM INTEGRATION_TEST_THRIFT_SRCS APPEND ".thrift")