mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-19 21:23:26 +08:00
* fix pybind11Tools.cmake typo causing Unknown arguments
CMake Error at pybind11/tools/pybind11Tools.cmake:217 (if):
if given arguments:
"NOT" "MSVC" "AND" "NOT" "TEST" "MATCHES" "DEBUG|RELWITHDEBINFO"
Unknown arguments specified
https://github.com/pybind/pybind11/issues/4325
* Apply the same fix in tools/pybind11NewTools.cmake
Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>