From b5855b80734af73fe17e8031f87f0943bb9db068 Mon Sep 17 00:00:00 2001 From: Garrett Morrison <55602159+GarrettDMorrison@users.noreply.github.com> Date: Wed, 6 Dec 2023 12:20:00 -0800 Subject: [PATCH] Explicitly use old CMake FindPython policy --- python/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index f2c1041b9..95a5c64e1 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -1,3 +1,5 @@ +cmake_policy(SET CMP0148 OLD) + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_LIST_DIR}/scikit-build-cmake) include(UseCython) include(FindPythonExtensions)