summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-01 21:38:53 (GMT)
committerBrad King <brad.king@kitware.com>2022-02-01 22:20:28 (GMT)
commitefe3af0119d42b04c6799531dd884afd09af586d (patch)
treea092fbb6efa158bbc7443f572f183c220cf1bea1 /Tests
parenta541c8f5105713dbbdf256f7eb72159ac3829d44 (diff)
downloadCMake-efe3af0119d42b04c6799531dd884afd09af586d.zip
CMake-efe3af0119d42b04c6799531dd884afd09af586d.tar.gz
CMake-efe3af0119d42b04c6799531dd884afd09af586d.tar.bz2
Tests: Update FindBoost.TestPython for Python 3.10
Follow up commit d4bb6c0c7f (FindBoost: Add support for Python 3.10, 2021-12-16, v3.22.2~14^2) with an update for the FindBoost test.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/FindBoost/TestPython/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/FindBoost/TestPython/CMakeLists.txt b/Tests/FindBoost/TestPython/CMakeLists.txt
index 6d292cd..8ef18e9 100644
--- a/Tests/FindBoost/TestPython/CMakeLists.txt
+++ b/Tests/FindBoost/TestPython/CMakeLists.txt
@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 3.14)
project(TestFindBoostPython CXX)
include(CTest)
-find_package(Boost OPTIONAL_COMPONENTS python27 python34 python35 python36 python37 python38 python39)
+find_package(Boost OPTIONAL_COMPONENTS python27 python34 python35 python36 python37 python38 python39 python310)
set(FAILTEST TRUE)
-foreach (v IN ITEMS 27 34 35 36 37 38 39)
+foreach (v IN ITEMS 27 34 35 36 37 38 39 310)
if (Boost_PYTHON${v}_FOUND)
set(FAILTEST FALSE)
break()