mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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
8 lines
324 B
CMake
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}")
|