From f0da223ff0ddd2b1dcc5112d7df920b23515cbd3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 15 Oct 2019 11:07:42 -0400 Subject: CMakeFindBinUtils: Remove unnecessary variable unset calls Some unset calls were added by commit 079b8e2916 (Clang: prefer lld-link over link.exe, 2019-07-11, v3.16.0-rc1~161^2~2) but they are unnecessary since commit 3a82ef78eb (CMakeFindBinUtils: Rename and unset variables for additional names, 2019-07-23, v3.16.0-rc1~332^2~2). Suggested-by: Norbert Lange --- Modules/CMakeFindBinUtils.cmake | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake index 3887b2d..69ace5a 100644 --- a/Modules/CMakeFindBinUtils.cmake +++ b/Modules/CMakeFindBinUtils.cmake @@ -167,18 +167,6 @@ else() HINTS ${_CMAKE_TOOLCHAIN_LOCATION}) list(APPEND _CMAKE_TOOL_VARS AR RANLIB STRIP LINKER NM OBJDUMP OBJCOPY READELF DLLTOOL ADDR2LINE) - - - unset(_CMAKE_ADDITIONAL_AR_NAMES) - unset(_CMAKE_ADDITIONAL_RANLIB_NAMES) - unset(_CMAKE_ADDITIONAL_STRIP_NAMES) - unset(_CMAKE_ADDITIONAL_LINKER_NAMES) - unset(_CMAKE_ADDITIONAL_NM_NAMES) - unset(_CMAKE_ADDITIONAL_OBJDUMP_NAMES) - unset(_CMAKE_ADDITIONAL_OBJCOPY_NAMES) - unset(_CMAKE_ADDITIONAL_READELF_NAMES) - unset(_CMAKE_ADDITIONAL_DLLTOOL_NAMES) - unset(_CMAKE_ADDITIONAL_ADDR2LINE_NAMES) endif() if(CMAKE_PLATFORM_HAS_INSTALLNAME) -- cgit v0.12