FindLibAStyle: remove confusing default version

Authored by dakon on May 27 2019, 7:53 AM.

Description

FindLibAStyle: remove confusing default version

On a system without libastyle installed the output was:

  • Could NOT find LibAStyle: Found unsuitable version "0", but required is at least "3.1" (found LibAStyle_LIBRARIES-NOTFOUND)

Without this default it will be:

  • Could NOT find LibAStyle (missing: LibAStyle_LIBRARIES LibAStyle_INCLUDE_DIR) (Required is at least version "3.1")

While at it move the code for the version autodetection around a bit to simplify
it a bit.

Details

Committed
dakonMay 27 2019, 4:12 PM
Parents
R32:c9df8b5791f1: Merge remote-tracking branch 'origin/5.3'
Branches
Unknown
Tags
Unknown