Skip to content

Commit

Permalink
Little bugfixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
alehaa committed Apr 15, 2016
1 parent 1cefaef commit 1a68d6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/sanitize-helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function (sanitizer_check_compiler_flags FLAG_CANDIDATES NAME PREFIX)
RESULT_VARIABLE INCLUDED)
if (INCLUDED)
check_fortran_compiler_flag("${FLAG}"
ASAN_FLAG_DETECTED)
${PREFIX}_FLAG_DETECTED)
elseif (NOT CMAKE_REQUIRED_QUIET)
message(STATUS
"Performing Test ${PREFIX}_FLAG_DETECTED")
Expand Down Expand Up @@ -136,8 +136,8 @@ function (saitizer_add_flags TARGET NAME PREFIX)
sanitizer_target_compilers(${TARGET} TARGET_COMPILER)
list(LENGTH TARGET_COMPILER NUM_COMPILERS)
if (NUM_COMPILERS GREATER 1)
message(AUTHOR_WARNING "${NAME} disabled for target ${TARGET} because "
"it will be compiled by different compilers.")
message(WARNING "${NAME} disabled for target ${TARGET} because it will "
"be compiled by different compilers.")
return()

elseif ((NUM_COMPILERS EQUAL 0) OR
Expand Down

0 comments on commit 1a68d6a

Please sign in to comment.