You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
357 B

if (COMMAND nanobind_add_module)
return()
endif()
include(cmake/python.cmake)
FetchContent_Declare(
nanobind
GIT_REPOSITORY https://github.com/wjakob/nanobind.git
GIT_TAG 836405b6e2b64ceac42d6bc90081fed0275b800d
GIT_SHALLOW OFF)
FetchContent_Populate(nanobind)
find_package(nanobind PATHS ${nanobind_SOURCE_DIR}/cmake NO_DEFAULT_PATH)