mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user