Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Clean up
compile_option
after FindSanitizers module
Unset the `compile_option` variable after it's used in the FindSanitizers module to prevent potential conflicts with other CMake build configurations. Previously, this variable persisted after `find_package(Sanitizers)`, which could lead to unexpected build behavior if the same variable name was used elsewhere. This change follows CMake best practices where Find modules clean up temporary variables after use. Signed-off-by: Kefu Chai <[email protected]>
- Loading branch information