diff --git a/link_flag.cmake b/link_flag.cmake index de5b7f4..16bfa8f 100644 --- a/link_flag.cmake +++ b/link_flag.cmake @@ -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()