Little bugfixes.
This commit is contained in:
parent
1cefaef507
commit
1a68d6aefe
@ -102,7 +102,7 @@ function (sanitizer_check_compiler_flags FLAG_CANDIDATES NAME PREFIX)
|
|||||||
RESULT_VARIABLE INCLUDED)
|
RESULT_VARIABLE INCLUDED)
|
||||||
if (INCLUDED)
|
if (INCLUDED)
|
||||||
check_fortran_compiler_flag("${FLAG}"
|
check_fortran_compiler_flag("${FLAG}"
|
||||||
ASAN_FLAG_DETECTED)
|
${PREFIX}_FLAG_DETECTED)
|
||||||
elseif (NOT CMAKE_REQUIRED_QUIET)
|
elseif (NOT CMAKE_REQUIRED_QUIET)
|
||||||
message(STATUS
|
message(STATUS
|
||||||
"Performing Test ${PREFIX}_FLAG_DETECTED")
|
"Performing Test ${PREFIX}_FLAG_DETECTED")
|
||||||
@ -136,8 +136,8 @@ function (saitizer_add_flags TARGET NAME PREFIX)
|
|||||||
sanitizer_target_compilers(${TARGET} TARGET_COMPILER)
|
sanitizer_target_compilers(${TARGET} TARGET_COMPILER)
|
||||||
list(LENGTH TARGET_COMPILER NUM_COMPILERS)
|
list(LENGTH TARGET_COMPILER NUM_COMPILERS)
|
||||||
if (NUM_COMPILERS GREATER 1)
|
if (NUM_COMPILERS GREATER 1)
|
||||||
message(AUTHOR_WARNING "${NAME} disabled for target ${TARGET} because "
|
message(WARNING "${NAME} disabled for target ${TARGET} because it will "
|
||||||
"it will be compiled by different compilers.")
|
"be compiled by different compilers.")
|
||||||
return()
|
return()
|
||||||
|
|
||||||
elseif ((NUM_COMPILERS EQUAL 0) OR
|
elseif ((NUM_COMPILERS EQUAL 0) OR
|
||||||
|
Loading…
Reference in New Issue
Block a user