Files
CMake/Tests/FindPython/Python2SABIModule/CMakeLists.txt
Brad King bd7b2293aa Tests: Bump CMake minimum required version in find-module tests to 3.5
CMake 3.27 deprecates compatibility with CMake < 3.5.
Update find module tests to avoid the deprecation warning.
2023-03-08 15:41:43 -05:00

6 lines
177 B
CMake

cmake_minimum_required(VERSION 3.5)
project(TestPython2SABIModule LANGUAGES C)
find_package(Python2 REQUIRED COMPONENTS Interpreter Development.Module Development.SABIModule)