mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-26 04:09:35 +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
6 lines
143 B
CMake
6 lines
143 B
CMake
cmake_policy(SET CMP0219 OLD)
|
|
|
|
enable_language(C)
|
|
include(CheckCSourceCompiles)
|
|
check_c_source_compiles("int main() { return '\\0'; }" RESULT)
|