Steve Cotton
af7b517f05
CMake 2.24.0: Workaround for missing SDL2::SDL2main
2022-08-27 08:27:38 +02:00
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
Pentarctagon
d516420c1f
Alternate way to find SDL2.
2021-12-19 17:51:47 -06:00
laikh
c5a1ac03e8
Fix MINGW (with MSYS2) build in Windows
2020-01-31 09:44:09 -06:00
Charles Dang
471c9e876a
Addressed a large chunk of the whitespace issues from #2613
...
[ci skip]
2018-03-09 11:37:00 +11:00
Andreas Löf
c42ba83b82
Fix cmake scripts for use on OSX with homebrew.
...
It seems that cmake won't pick up on the FindPackageHandleStandardArgs
macro on its on from homebrew so I've updated the script to include it.
2015-08-24 19:05:28 +12:00
Andreas Löf
4c4c469ead
Add SDL2 support to the CMake.
...
To compile with SDL2, run with -DENABLE_SDL2=TRUE. SDL2 is disabled by default.
2015-08-17 03:40:22 +12:00