From 2d9f884cbc3d2312582fd8009712264855e3f0b7 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 23 Jan 2017 16:48:36 +1100 Subject: [PATCH] link_flag: use consistent macro variable names --- link_flag.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()