From 12e95abacea066d249e5a352da91061172b0df3f Mon Sep 17 00:00:00 2001 From: asas1asas200 Date: Fri, 10 Nov 2023 10:41:16 +0800 Subject: [PATCH] Fix CMP0148 warning in CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 12113f80b..223467d79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ if (ENABLE_STACK_DEBUG) endif() # For generating the bytes tables -find_package(PythonInterp REQUIRED) +find_package(Python REQUIRED) if(CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wshadow -Werror ${CMAKE_CXX_FLAGS}")