summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFindBinUtils.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-02 19:54:41 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-02 19:54:41 (GMT)
commit58fcc23a4734de19bf7fe08971fd067f71b7f3f7 (patch)
tree7a1bcc6015517f68606c4f8e558e181b0605e53c /Modules/CMakeFindBinUtils.cmake
parent2e56fa4808109552610cbcd360c473d2db895520 (diff)
downloadCMake-58fcc23a4734de19bf7fe08971fd067f71b7f3f7.zip
CMake-58fcc23a4734de19bf7fe08971fd067f71b7f3f7.tar.gz
CMake-58fcc23a4734de19bf7fe08971fd067f71b7f3f7.tar.bz2
COMP: with visual studio it's no error if link isn't found
Alex
Diffstat (limited to 'Modules/CMakeFindBinUtils.cmake')
-rw-r--r--Modules/CMakeFindBinUtils.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake
index 47ac5c3..10ba9f1 100644
--- a/Modules/CMakeFindBinUtils.cmake
+++ b/Modules/CMakeFindBinUtils.cmake
@@ -25,10 +25,6 @@ IF("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC"
FIND_PROGRAM(CMAKE_LINKER NAMES link PATHS ${_CMAKE_TOOLCHAIN_LOCATION} NO_DEFAULT_PATH)
FIND_PROGRAM(CMAKE_LINKER NAMES link)
- IF(NOT CMAKE_LINKER)
- MESSAGE(FATAL_ERROR "Could not find link, please check your installation.")
- ENDIF(NOT CMAKE_LINKER)
-
MARK_AS_ADVANCED(CMAKE_LINKER)
# in all other cases search for ar, ranlib, etc.