diff options
author | Brad King <brad.king@kitware.com> | 2019-10-15 15:07:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-15 15:09:06 (GMT) |
commit | f0da223ff0ddd2b1dcc5112d7df920b23515cbd3 (patch) | |
tree | 8ddddbe6d732b65a39f71105b9a94ef0322e742a | |
parent | 9150c818b7d2afb868575fcb2e0c9ba62b9d7f85 (diff) | |
download | CMake-f0da223ff0ddd2b1dcc5112d7df920b23515cbd3.zip CMake-f0da223ff0ddd2b1dcc5112d7df920b23515cbd3.tar.gz CMake-f0da223ff0ddd2b1dcc5112d7df920b23515cbd3.tar.bz2 |
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>
-rw-r--r-- | Modules/CMakeFindBinUtils.cmake | 12 |
1 files changed, 0 insertions, 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) |