Compare commits

..

1 Commits

Author SHA1 Message Date
dfa7faf459 Исправление сравнения 2020-03-10 06:39:22 +03:00

View File

@@ -132,7 +132,7 @@ function (sanitizer_check_compiler_flags FLAG_CANDIDATES NAME PREFIX)
if (${PREFIX}_FLAG_DETECTED) if (${PREFIX}_FLAG_DETECTED)
# If compiler is a GNU compiler, search for static flag, if # If compiler is a GNU compiler, search for static flag, if
# SANITIZE_LINK_STATIC is enabled. # SANITIZE_LINK_STATIC is enabled.
if (SANITIZE_LINK_STATIC AND (${COMPILER} STREQUAL "GNU")) if (SANITIZE_LINK_STATIC AND (COMPILER STREQUAL "GNU"))
string(TOLOWER ${PREFIX} PREFIX_lower) string(TOLOWER ${PREFIX} PREFIX_lower)
sanitizer_check_compiler_flag( sanitizer_check_compiler_flag(
"-static-lib${PREFIX_lower}" ${LANG} "-static-lib${PREFIX_lower}" ${LANG}