Commit Graph

8 Commits

Author SHA1 Message Date
Frank Dana
935a740cff Remove spurious include
That wasn't supposed to be in there.
2019-07-12 19:12:31 -04:00
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
FeRD (Frank Dana)
3e5dc1d727 Streamline libopenshot-audio discovery 2019-03-29 08:10:31 -04:00
Jonathan Thomas
da07ff4818 Fix cmake module lookup for libopenshot-audio, to always try the ENV variable first (#123) 2018-06-20 14:07:55 -05:00
Jonathan Thomas
98fa55feb3 Updating cmake file for libopenshot-audio to search $ENV first, and then static folders 2018-05-21 23:12:21 -05:00
Jonathan Thomas
0e5447cd0d Renamed JUCE to libopenshot in the cmake find module. Fixed python install target to work on Windows. 2014-02-19 15:43:58 -06:00
Jonathan Thomas
0e037a389e Fixed many Windows build issues 2014-01-01 22:50:41 -06:00
Jonathan Thomas
d2e3285099 Fixed cmake dependency for JUCE on Windows 2012-06-28 15:58:39 -05:00