summaryrefslogtreecommitdiff
path: root/Tests/FindPython/Python2SABIModule
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-11-18 16:24:17 +0100
committerMarc Chevrier <marc.chevrier@gmail.com>2022-11-29 16:48:08 +0100
commit77d734aede807a038ab10520620cfbb24e84e76e (patch)
treebc20ce786a249862842c82484393d61edef2b0ca /Tests/FindPython/Python2SABIModule
parentf72c405d4ee4ad4775a10a944774b91f49726dad (diff)
downloadcmake-77d734aede807a038ab10520620cfbb24e84e76e.tar.gz
FindPython: add support for Stable ABI
Fixes: #24141
Diffstat (limited to 'Tests/FindPython/Python2SABIModule')
-rw-r--r--Tests/FindPython/Python2SABIModule/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/FindPython/Python2SABIModule/CMakeLists.txt b/Tests/FindPython/Python2SABIModule/CMakeLists.txt
new file mode 100644
index 0000000000..4f01197aec
--- /dev/null
+++ b/Tests/FindPython/Python2SABIModule/CMakeLists.txt
@@ -0,0 +1,5 @@
+cmake_minimum_required(VERSION 3.1)
+
+project(TestPython2SABIModule LANGUAGES C)
+
+find_package(Python2 REQUIRED COMPONENTS Interpreter Development.Module Development.SABIModule)