Fix CMake CMP0148 deprecation warning introduced with CMake 3.27.4

master
Ansariel 2023-08-28 16:06:15 +02:00
parent bcb701af65
commit 208a896f3f
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ elseif (WINDOWS)
${pymaybe}
)
endif()
include(FindPythonInterp)
find_package(Python3 COMPONENTS Interpreter)
else()
find_program(python python3)