Commit graph

7 commits

Author SHA1 Message Date
Andrei BENCSIK
1838041a37 Add FindSDL2 to simplify main CML
* the FindSDL2 module forwards to CONFIG mode first
* if that fails (eg. no -version.cmake or config not even present) it
uses pkg-config
* exports SDL2::SDL2 and SDL2::SDL2main as targets
* fix missing IMPORTED_LOCATION for other build types in Vorbisfile
2022-05-11 09:18:14 -05:00
Andrei BENCSIK
ea83e36bdb Refactor FindVorbisFile win32 cleanup 2022-05-02 16:23:17 -05:00
Andrei BENCSIK
066210254a Refactor FindVorbisFile.cmake 2022-05-02 16:23:17 -05:00
Steve Cotton
107da0f0c8 Make CMake error-out if required libraries aren't found
It seems that FIND_PACKAGE_HANDLE_STANDARD_ARGS is doing a case-sensitive
search for whether the find_package flags included REQUIRED.

(cherry-picked from commit f259976659)
2018-10-07 03:19:56 +00:00
Charles Dang
471c9e876a Addressed a large chunk of the whitespace issues from #2613
[ci skip]
2018-03-09 11:37:00 +11:00
Ignacio R. Morelle
303e88ae3a cmake: Mark vorbisfile options as advanced 2015-04-13 05:00:10 -03:00
Mark de Wever
1e766c2246 Add Vorbis support to the CMake build system.
Applies patch #3920.
2013-05-29 20:27:49 +02:00