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()
|
endmacro()
|
||||||
|
|
||||||
|
|
||||||
macro(append_link_flag flag)
|
macro(append_link_flag _flag)
|
||||||
check_link_flag (__test_link_flag_${flag} ${flag})
|
check_link_flag (__test_link_flag_${_flag} ${_flag})
|
||||||
if (__test_link_flag_${_flag})
|
if (__test_link_flag_${_flag})
|
||||||
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${_flag}")
|
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${_flag}")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user