Files
cmake/Tests/RunCMake/CMP0219/DependencyProviderMacro-NEW.cmake
T
Alex Reinking 9d2e85373a macro: Add policy to preserve backslashes in arguments
Preserve backslashes in arguments passed to macros by re-escaping
them before substituting in the macro body, where they will be
parsed again.

Fixes: #19281, #22157, #23641, #25803, #27645, #20891
2026-05-31 14:36:15 -04:00

8 lines
324 B
CMake

include("${CMAKE_CURRENT_LIST_DIR}/CMP0219-helpers.cmake")
find_package(pybind11 HINTS "${cmp0219_path_native}")
cmp0219_assert_equal("${cmp0219_provider_method}" "FIND_PACKAGE")
cmp0219_assert_equal("${cmp0219_provider_package}" "pybind11")
cmp0219_assert_equal("${cmp0219_provider_argn}" "HINTS;${cmp0219_path_native}")