diff options
author | Brad King <brad.king@kitware.com> | 2019-01-21 15:07:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-21 16:14:08 (GMT) |
commit | 8c5221fb1fad10518c8ef7901a686a9a816baf0e (patch) | |
tree | 591720b79c11e4e8f6e8c4493146713093ba01d5 /Modules/Compiler/NVIDIA-CUDA.cmake | |
parent | 15ad8300621eaf9fe23cda30368f90b420505d43 (diff) | |
download | CMake-8c5221fb1fad10518c8ef7901a686a9a816baf0e.zip CMake-8c5221fb1fad10518c8ef7901a686a9a816baf0e.tar.gz CMake-8c5221fb1fad10518c8ef7901a686a9a816baf0e.tar.bz2 |
try_compile: Preserve special characters in COMPILE_DEFINITIONS
When generating the `CMakeLists.txt` file, we pass the values given
to our `COMPILE_DEFINITIONS` option in an `add_definitions` call.
Pass them as bracket arguments to preserve special characters
like `#`.
Diffstat (limited to 'Modules/Compiler/NVIDIA-CUDA.cmake')
0 files changed, 0 insertions, 0 deletions