Skip to content

Commit

Permalink
let nanobind do find_package(Python) for us
Browse files Browse the repository at this point in the history
  • Loading branch information
ManifoldFR committed Aug 8, 2024
1 parent 4eef11c commit 8b1dac8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bindings/python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
if(UNIX)
set(PYTHON_COMPONENTS Development.Module)
endif()

include(${JRL_CMAKE_MODULES}/python.cmake)
include(${JRL_CMAKE_MODULES}/python-helpers.cmake)

findpython(REQUIRED Development.Module)
find_package(Python 3.7 COMPONENTS ${PYTHON_COMPONENTS})

if(IS_ABSOLUTE ${PYTHON_SITELIB})
set(${PYWRAP}_INSTALL_DIR ${PYTHON_SITELIB}/${PROJECT_NAME})
else()
Expand Down

0 comments on commit 8b1dac8

Please sign in to comment.