pybind11 python-fetching deprecated, drop it
This commit is contained in:
parent
ffd8e9dca9
commit
93910f9013
1 changed files with 1 additions and 7 deletions
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue