fix: a couple more places where pybind11 is missing 11 (#2421)
diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h
index 4901ea3..5711004 100644
--- a/include/pybind11/cast.h
+++ b/include/pybind11/cast.h
@@ -1767,7 +1767,7 @@
return ret;
}
-// Calling cast() on an rvalue calls pybind::cast with the object rvalue, which does:
+// Calling cast() on an rvalue calls pybind11::cast with the object rvalue, which does:
// - If we have to move (because T has no copy constructor), do it. This will fail if the moved
// object has multiple references, but trying to copy will fail to compile.
// - If both movable and copyable, check ref count: if 1, move; otherwise copy
diff --git a/tools/pybind11NewTools.cmake b/tools/pybind11NewTools.cmake
index 2e7a931..8f771ac 100644
--- a/tools/pybind11NewTools.cmake
+++ b/tools/pybind11NewTools.cmake
@@ -79,7 +79,7 @@
# https://stackoverflow.com/questions/39161202/how-to-work-around-missing-pymodule-create2-in-amd64-win-python35-d-lib
if(PYTHON_IS_DEBUG)
set_property(
- TARGET pybind::pybind11
+ TARGET pybind11::pybind11
APPEND
PROPERTY INTERFACE_COMPILE_DEFINITIONS Py_DEBUG)
endif()