Commit f0da223f authored by Brad King's avatar Brad King

CMakeFindBinUtils: Remove unnecessary variable unset calls

Some unset calls were added by commit 079b8e29 (Clang: prefer lld-link
over link.exe, 2019-07-11, v3.16.0-rc1~161^2~2) but they are unnecessary
since commit 3a82ef78 (CMakeFindBinUtils: Rename and unset variables
for additional names, 2019-07-23, v3.16.0-rc1~332^2~2).
Suggested-by: nolange's avatarNorbert Lange <nolange79@gmail.com>
parent 9150c818
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment