Explorar o código

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 <[email protected]>
Brad King %!s(int64=6) %!d(string=hai) anos
pai
achega
f0da223ff0
Modificáronse 1 ficheiros con 0 adicións e 12 borrados
  1. 0 12
      Modules/CMakeFindBinUtils.cmake

+ 0 - 12
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)