Files
libopenshot/cmake/Modules
FeRD (Frank Dana) 8dcefbd87c Overhaul FindOpenShotAudio.cmake
* Version checking!
  - Supports EXACT
    (but only for M.N.B, e.g. 0.1.8-dev1 matches 0.1.8 EXACT)
  - REQUIRED will now cause CMake to abort if version is not
    sufficient (lower than requested)
  - Outputs the following:
    - Version requested, if set
    - Version found, if successfully parsed from header
    - Compatibility status, if version set on both ends
* Accept `LIBOPENSHOT_AUDIO_DIR` cache variable, in addition to
  the environment variable (for `cmake -DLIBOPENSHOT_AUDIO_DIR=...`)
* Do two-stage search for both headers and libs
  (Avoids this situation...)
  LIBOPENSHOT_AUDIO_INCLUDE_DIRS=/usr/include/libopenshot-audio
  LIBOPENSHOT_AUDIO_LIBRARY=/home/ferd/build/

(Largely inspired by CMake's `FindPythonLibs.cmake`)
2019-07-12 18:28:40 -04:00
..