Skip to content
  • Stephen Kelly's avatar
    Handle targets in the LINK_LIBRARIES of try_compile. · 236133e7
    Stephen Kelly authored and Brad King's avatar Brad King committed
    Imported targets are re-exported so that they can be used by the
    try_compile generated code with target_link_libraries.
    
    This makes the use of the cmake_expand_imported_targets macro
    obsolete. The macro is not able to expand the generator expressions
    which may appear in the IMPORTED_LINK_INTERFACE_LIBRARIES content.
    Instead it just sees them as 'not a target'.
    236133e7