summaryrefslogtreecommitdiffstats
path: root/Tests/FindPython/DifferentComponents
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-28 13:22:48 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-06-28 13:22:54 (GMT)
commite9213013e605b963d016b132e1488eca5847b29a (patch)
tree9db0c42f6a5f4683ada780835051d37283df02ab /Tests/FindPython/DifferentComponents
parentf0740662a6a98b71b37adfa038b3d5e6b8834309 (diff)
parentece3bedbf2cdc4857f19e2fceafa98a3f8002b4a (diff)
downloadCMake-e9213013e605b963d016b132e1488eca5847b29a.zip
CMake-e9213013e605b963d016b132e1488eca5847b29a.tar.gz
CMake-e9213013e605b963d016b132e1488eca5847b29a.tar.bz2
Merge topic 'FindPython-multiple-queries' into release-3.24
ece3bedbf2 FindPython: fix error on multiple queries with different COMPONENTS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7410
Diffstat (limited to 'Tests/FindPython/DifferentComponents')
-rw-r--r--Tests/FindPython/DifferentComponents/CMakeLists.txt7
-rw-r--r--Tests/FindPython/DifferentComponents/subdir/CMakeLists.txt2
2 files changed, 9 insertions, 0 deletions
diff --git a/Tests/FindPython/DifferentComponents/CMakeLists.txt b/Tests/FindPython/DifferentComponents/CMakeLists.txt
new file mode 100644
index 0000000..7476632
--- /dev/null
+++ b/Tests/FindPython/DifferentComponents/CMakeLists.txt
@@ -0,0 +1,7 @@
+cmake_minimum_required(VERSION 3.1)
+
+project(TestDifferentComponents LANGUAGES C)
+
+add_subdirectory(subdir)
+
+find_package(Python3 REQUIRED COMPONENTS Development.Module)
diff --git a/Tests/FindPython/DifferentComponents/subdir/CMakeLists.txt b/Tests/FindPython/DifferentComponents/subdir/CMakeLists.txt
new file mode 100644
index 0000000..98fcd5f
--- /dev/null
+++ b/Tests/FindPython/DifferentComponents/subdir/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+find_package(Python3 REQUIRED COMPONENTS Development)