directly add pybind11 subdirectory so files are generated correctly

release/4.3a0
Varun Agrawal 2024-08-25 15:41:55 -04:00
parent f2d69ed697
commit e58a5c4cac
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ if(POLICY CMP0057)
endif() endif()
# Use bundled pybind11 version # Use bundled pybind11 version
find_package(pybind11 CONFIG QUIET PATHS "${PROJECT_SOURCE_DIR}/wrap/pybind11") add_subdirectory(${PROJECT_SOURCE_DIR}/wrap/pybind11 pybind11)
# Set the wrapping script variable # Set the wrapping script variable
set(PYBIND_WRAP_SCRIPT "${PROJECT_SOURCE_DIR}/wrap/scripts/pybind_wrap.py") set(PYBIND_WRAP_SCRIPT "${PROJECT_SOURCE_DIR}/wrap/scripts/pybind_wrap.py")