link_flag: don't forcible cache the check_link_flag variable

This commit is contained in:
Danny Robson 2017-01-23 16:48:02 +11:00
parent acac995e0b
commit af25ffdf6c

View File

@ -23,9 +23,9 @@ macro(check_link_flag _variable _flag)
endif ()
if (__check_link_flag_${_name})
set (${variable} 1 INTERNAL)
set (${variable} 1)
else()
set (${variable} 0 INTERNAL)
set (${variable} 0)
endif()
endmacro()