summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-23 20:19:29 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-23 20:19:29 (GMT)
commitefaf335bf2d8e17727d867a29171ec6050252d0c (patch)
tree09a2fc6a2b8036576cb36aef2290e99649822d56 /Modules
parentc98aaceb9287329e71ffa060103265cc8fea8d69 (diff)
downloadCMake-efaf335bf2d8e17727d867a29171ec6050252d0c.zip
CMake-efaf335bf2d8e17727d867a29171ec6050252d0c.tar.gz
CMake-efaf335bf2d8e17727d867a29171ec6050252d0c.tar.bz2
BUG: Skip implicit link information on Xcode
Xcode adds extra link directories that point at the build tree, so detection of implicit link directories is not reliable. Since Fortran is not supported in Xcode we will not need implicit link information yet anyway.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeDetermineCompilerABI.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCompilerABI.cmake b/Modules/CMakeDetermineCompilerABI.cmake
index d519237..9baa893 100644
--- a/Modules/CMakeDetermineCompilerABI.cmake
+++ b/Modules/CMakeDetermineCompilerABI.cmake
@@ -45,9 +45,10 @@ FUNCTION(CMAKE_DETERMINE_COMPILER_ABI lang src)
ENDIF(ABI_NAME)
# Parse implicit linker information for this language, if available.
+ # Skip this with Xcode for now.
SET(implicit_dirs "")
SET(implicit_libs "")
- IF(CMAKE_${lang}_VERBOSE_FLAG)
+ IF(CMAKE_${lang}_VERBOSE_FLAG AND NOT "${CMAKE_GENERATOR}" MATCHES Xcode)
CMAKE_PARSE_IMPLICIT_LINK_INFO("${OUTPUT}" implicit_libs implicit_dirs)
ENDIF()
SET(CMAKE_${lang}_IMPLICIT_LINK_LIBRARIES "${implicit_libs}" PARENT_SCOPE)