Commit Graph

4 Commits

Author SHA1 Message Date
Hennadii Stepanov
52ac17757e
cmake: Add NO_CACHE_IF_FAILED option for checking linker flags
Use it for checking `-fsanitize`.

This change improves the user experience when the configuration step
fails due to a missing library. Now, there is no need to manually clean
the CMake cache after installing the required library.
2025-03-10 16:55:48 +00:00
Hennadii Stepanov
97a18c8545
cmake: Fix IF_CHECK_PASSED option handling
`IF_CHECK_PASSED` is a multi-value keyword, resulting in a list value.
Convert it to a string before applying any `string()` command.
2024-11-06 08:59:15 +00:00
Hennadii Stepanov
1cc93fe7b4
build: Delete dead code that implements IF_CHECK_FAILED option 2024-09-08 16:34:04 +01:00
Hennadii Stepanov
f98327931b
cmake: Add TryAppendLinkerFlag module 2024-08-16 19:27:37 +01:00