• Brad King's avatar
    ENH: Better linker search path computation. · fd37a6ec
    Brad King authored
      - Use linker search path -L.. -lfoo for lib w/out soname
        when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME
      - Rename cmOrderRuntimeDirectories to cmOrderDirectories
        and generalize it for both soname constraints and link
        library constraints
      - Use cmOrderDirectories to order -L directories based
        on all needed constraints
      - Avoid processing implicit link directories
      - For CMAKE_OLD_LINK_PATHS add constraints from libs
        producing them to produce old ordering