From 93910f901300825e6348bed1806e6b534b7d15b2 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Wed, 13 Mar 2024 16:34:07 -0400 Subject: [PATCH] pybind11 python-fetching deprecated, drop it --- cmake/xo_macros/xo_cxx.cmake | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cmake/xo_macros/xo_cxx.cmake b/cmake/xo_macros/xo_cxx.cmake index 1f392ad7..f0b62c86 100644 --- a/cmake/xo_macros/xo_cxx.cmake +++ b/cmake/xo_macros/xo_cxx.cmake @@ -803,13 +803,7 @@ macro(xo_pybind11_library target projectTargets source_files) DESTINATION ${CMAKE_INSTALL_PREFIX}/include/xo/${_nxo_target}) endif() - # find_package(Python..) finds python in - # /Library/Frameworks/Python.framework/... - # but we want to use python from nix - # - #find_package(Python COMPONENTS Interpreter Development REQUIRED) - # - + find_package(Python COMPONENTS Interpreter Development REQUIRED) find_package(pybind11) # this only works if one source file, right?