summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindPython/Python3SABIModule.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/FindPython/Python3SABIModule.cmake')
-rw-r--r--Tests/RunCMake/FindPython/Python3SABIModule.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/FindPython/Python3SABIModule.cmake b/Tests/RunCMake/FindPython/Python3SABIModule.cmake
index 20cea97..a8eed7e 100644
--- a/Tests/RunCMake/FindPython/Python3SABIModule.cmake
+++ b/Tests/RunCMake/FindPython/Python3SABIModule.cmake
@@ -33,7 +33,7 @@ if(NOT TARGET Python3::SABIModule)
message(SEND_ERROR "Python3::SABIModule not found")
endif()
-if (Python3_VERSION VERSION_GREATER_EQUAL "3.2" AND NOT Python3_SOSABI)
+if (Python3_VERSION VERSION_GREATER_EQUAL "3.2" AND NOT DEFINED Python3_SOSABI)
message(FATAL_ERROR "Python3_SOSABI unexpectedly not defined")
endif()