Skip to content
  • Brad King's avatar
    cmTarget: Evaluate CMP0026 in calling context · 23409f50
    Brad King authored
    This policy should be checked at the call site that tries to access the
    LOCATION property, not the directory scope containing the target.
    Thread the caller context through cmTarget::GetProperty to use for
    checking the policy setting and emitting a diagnostic with proper
    backtrace.
    
    Extend the RunCMake.CMP0026 test with a cross-directory case.
    23409f50