Commit efaf335b authored by Brad King's avatar Brad King

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.
parent c98aaceb
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment