From 45e6ba11451f88a5b95655390495458521beba8b Mon Sep 17 00:00:00 2001 From: Jeremy Kubica <104161096+jeremykubica@users.noreply.github.com> Date: Thu, 14 Sep 2023 10:32:01 -0400 Subject: [PATCH] Replace deprecated (and removed) find_package calls --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b4b42a5..46492efc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,8 +19,7 @@ endif() include(CheckIPOSupported) check_ipo_supported(RESULT ipo_supported) -find_package( PythonInterp ) -find_package( PythonLibs ) +find_package(Python3 COMPONENTS Interpreter Development REQUIRED) find_library(CFITSIO_LIBRARY NAMES fitsio cfitsio libcfitsio