summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindPython/Python2SABIModule.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2025-02-16 17:27:23 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2025-02-28 16:55:24 (GMT)
commitaed9dffdc97afeb20c060d2d5c958f5ad6b0dbc1 (patch)
tree09e84a7a2dffcf7f66287e8fa59b9cff64e17d3d /Tests/RunCMake/FindPython/Python2SABIModule.cmake
parent75da788360ca67f752ee70754d310dca52411cf9 (diff)
downloadCMake-aed9dffdc97afeb20c060d2d5c958f5ad6b0dbc1.zip
CMake-aed9dffdc97afeb20c060d2d5c958f5ad6b0dbc1.tar.gz
CMake-aed9dffdc97afeb20c060d2d5c958f5ad6b0dbc1.tar.bz2
FindPython: migrate tests to RunCMake framework
Diffstat (limited to 'Tests/RunCMake/FindPython/Python2SABIModule.cmake')
-rw-r--r--Tests/RunCMake/FindPython/Python2SABIModule.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/FindPython/Python2SABIModule.cmake b/Tests/RunCMake/FindPython/Python2SABIModule.cmake
new file mode 100644
index 0000000..a7e7378
--- /dev/null
+++ b/Tests/RunCMake/FindPython/Python2SABIModule.cmake
@@ -0,0 +1,3 @@
+enable_language(C)
+
+find_package(Python2 REQUIRED COMPONENTS Interpreter Development.Module Development.SABIModule)