diff options
author | Brad King <brad.king@kitware.com> | 2022-11-17 13:06:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-11-17 13:06:19 (GMT) |
commit | 311695e319bd57b298a8afeafc576bfc55ad2704 (patch) | |
tree | e1a9f5592ff7feff412459ce1f410c3402c0665d | |
parent | 148be2e2f22188843d616867d5d8b6a36a8163b3 (diff) | |
parent | 6b1f933cb8731c9ff8033851f61bb901a9fd7f24 (diff) | |
download | CMake-311695e319bd57b298a8afeafc576bfc55ad2704.zip CMake-311695e319bd57b298a8afeafc576bfc55ad2704.tar.gz CMake-311695e319bd57b298a8afeafc576bfc55ad2704.tar.bz2 |
Merge topic 'test-FindBoost-python-versions'
6b1f933cb8 Tests: Update FindBoost.TestPython for Python 3.11 and 3.12
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7929
-rw-r--r-- | Tests/FindBoost/TestPython/CMakeLists.txt | 4 |
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() |