COMP: with visual studio it's no error if link isn't found

Alex
This commit is contained in:
Alexander Neundorf 2007-07-02 15:54:41 -04:00
parent 2e56fa4808
commit 58fcc23a47
1 changed files with 0 additions and 4 deletions

View File

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