link_flag: use consistent macro variable names
This commit is contained in:
parent
af25ffdf6c
commit
2d9f884cbc
@ -30,8 +30,8 @@ macro(check_link_flag _variable _flag)
|
||||
endmacro()
|
||||
|
||||
|
||||
macro(append_link_flag flag)
|
||||
check_link_flag (__test_link_flag_${flag} ${flag})
|
||||
macro(append_link_flag _flag)
|
||||
check_link_flag (__test_link_flag_${_flag} ${_flag})
|
||||
if (__test_link_flag_${_flag})
|
||||
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${_flag}")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user