• Brad King's avatar
    cmake: Fix --find-package mode link line output · a098ca0d
    Brad King authored
    Refactoring in commit v2.8.10~58^2~2 (Ninja: move -LIBPATH behind -link
    option, 2012-09-26) added arguments to cmLocalGenerator::GetTargetFlags
    and updated the call sites.  However, in the cmake::FindPackage and
    cmLocalGenerator::AddBuildTargetRule call sites it added the new
    arguments in the wrong order.  The latter was never used and has been
    removed.  The former remains buggy and prints out compiler flags instead
    of the link framework/library search paths.  Fix its argument order.