From efaf335bf2d8e17727d867a29171ec6050252d0c Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 23 Jul 2009 16:19:29 -0400 Subject: 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. --- Modules/CMakeDetermineCompilerABI.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v0.12