link_flag: don't forcible cache the check_link_flag variable
This commit is contained in:
parent
acac995e0b
commit
af25ffdf6c
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user