diff options
| author | Brad King <brad.king@kitware.com> | 2022-11-30 12:26:59 (GMT) |
|---|---|---|
| committer | Kitware Robot <kwrobot@kitware.com> | 2022-11-30 12:27:06 (GMT) |
| commit | d871fad90241df2b58b55c816554a1ef2ccf6a79 (patch) | |
| tree | 9176c071571d5d26e02d9e393bc0117004d1b8ce /Tests/FindPython/Python3Module/CMakeLists.txt | |
| parent | 7fd42381495b7bc974c4c08f6623fb5070cf0067 (diff) | |
| parent | 77d734aede807a038ab10520620cfbb24e84e76e (diff) | |
| download | CMake-d871fad90241df2b58b55c816554a1ef2ccf6a79.zip CMake-d871fad90241df2b58b55c816554a1ef2ccf6a79.tar.gz CMake-d871fad90241df2b58b55c816554a1ef2ccf6a79.tar.bz2 | |
Merge topic 'FindPython-ABI3-support'
77d734aede FindPython: add support for Stable ABI
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7967
Diffstat (limited to 'Tests/FindPython/Python3Module/CMakeLists.txt')
| -rw-r--r-- | Tests/FindPython/Python3Module/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/FindPython/Python3Module/CMakeLists.txt b/Tests/FindPython/Python3Module/CMakeLists.txt index 5945962..ccc1fdb 100644 --- a/Tests/FindPython/Python3Module/CMakeLists.txt +++ b/Tests/FindPython/Python3Module/CMakeLists.txt @@ -11,6 +11,9 @@ endif() if (Python3_Development_FOUND) message (FATAL_ERROR "Python 3, COMPONENT 'Development' unexpectedly found") endif() +if (Python3_Development.SABIModule_FOUND) + message (FATAL_ERROR "Python 3, COMPONENT 'Development.SABIModule' unexpectedly found") +endif() if (Python3_Development.Embed_FOUND) message (FATAL_ERROR "Python 3, COMPONENT 'Development.Embed' unexpectedly found") endif() @@ -25,6 +28,12 @@ endif() if(TARGET Python3::Python) message(SEND_ERROR "Python3::Python unexpectedly found") endif() +if(TARGET Python3::SABIMOdule) + message(SEND_ERROR "Python3::SABIModule unexpectedly found") +endif() +if(TARGET Python3::Embed) + message(SEND_ERROR "Python3::Embed unexpectedly found") +endif() if(NOT TARGET Python3::Module) message(SEND_ERROR "Python3::Module not found") endif() |
