summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-16 19:24:09 (GMT)
committerBrad King <brad.king@kitware.com>2022-11-16 19:34:07 (GMT)
commit6b1f933cb8731c9ff8033851f61bb901a9fd7f24 (patch)
tree3d131e520512768faba136c2191a735b2ae96a38
parent8ad8c4432f7aa7a91d7850d2b254ee945ce85c46 (diff)
downloadCMake-6b1f933cb8731c9ff8033851f61bb901a9fd7f24.zip
CMake-6b1f933cb8731c9ff8033851f61bb901a9fd7f24.tar.gz
CMake-6b1f933cb8731c9ff8033851f61bb901a9fd7f24.tar.bz2
Tests: Update FindBoost.TestPython for Python 3.11 and 3.12
Follow up the python 3.11 and 3.12 support from: * commit 43844c5d82 (FindPython: Add support for Python 3.11, 2021-12-07, v3.22.2~20^2) * commit ca2877c039 (FindPython: add support for Python 3.12, 2022-05-11, v3.23.2~15^2) with an update for the FindBoost test.
-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 8ef18e9..494c9a3 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 python310)
+find_package(Boost OPTIONAL_COMPONENTS python27 python34 python35 python36 python37 python38 python39 python310 python311 python312)
set(FAILTEST TRUE)
-foreach (v IN ITEMS 27 34 35 36 37 38 39 310)
+foreach (v IN ITEMS 27 34 35 36 37 38 39 310 311 312)
if (Boost_PYTHON${v}_FOUND)
set(FAILTEST FALSE)
break()