mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
61502d3956
This variable holds the standard extension suffix for modules. Fixes: #20150
13 lines
334 B
CMake
13 lines
334 B
CMake
cmake_minimum_required(VERSION 3.1)
|
|
|
|
project(TestSOABI C)
|
|
|
|
find_package(Python3 COMPONENTS ${CMake_TEST_FindPython_COMPONENT})
|
|
if (NOT Python3_FOUND)
|
|
message (FATAL_ERROR "Fail to found Python 3")
|
|
endif()
|
|
|
|
if(NOT DEFINED Python3_SOABI)
|
|
message(FATAL_ERROR "Python3_SOABI for ${CMake_TEST_FindPython_COMPONENT} not found")
|
|
endif()
|