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 `#`.
Showing
-
mentioned in commit fa5bf870
-
mentioned in issue #18919 (closed)
-
mentioned in merge request !2965 (merged)
Please register or sign in to comment