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 <nolange79@gmail.com>
This commit is contained in:
Brad King
2019-10-15 11:07:42 -04:00
parent 9150c818b7
commit f0da223ff0

View File

@@ -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)