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.
This commit is contained in:
parent
c98aaceb92
commit
efaf335bf2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue