16 Commits

Author SHA1 Message Date
Dmitry Marakasov
79da16ef6f Fix FIND_PACKAGE_HANDLE_STANDARD_ARGS argument order 2017-06-08 20:28:32 +03:00
Dmitry Marakasov
24482d85f6 Follow SDL2 include path conventions
Though these are broken and error prone, as they ignore the possibility
of conflicts between SDL, SDL2 and wrappers thereof discarding useful
include path prefix (SDL2/), since SDL and satellite libraries follow
these it's too hard to stay away.

So don't use prefixes for SDL include paths any longer.
2017-02-08 13:19:04 +03:00
Dmitry Marakasov
0643647657 Improve joined set handling 2016-01-23 14:31:44 +03:00
Dmitry Marakasov
69bb914040 Improve SDL2Main library handling 2016-01-22 23:49:29 +03:00
Dmitry Marakasov
d575911ce7 Link SDL2main library 2015-12-15 22:06:52 +03:00
Dmitry Marakasov
bee32f54da More fixes for compiler feature detection 2015-09-17 16:49:51 +03:00
Dmitry Marakasov
be5bc9d1de Revamp compiler flag support detection logic 2015-09-17 16:02:36 +03:00
Dmitry Marakasov
1e6cefa86d Add macro to check and enable C++ flag, add some clang warnings 2015-09-17 15:18:56 +03:00
Vladimir Gamalian
b5561e9b30 Update cmake infrastructure for SDL2_mixer 2015-08-27 20:32:02 +03:00
Dmitry Marakasov
8764021d9e Improve CMake library detection modules
- Use standard FIND_PACKAGE_HANDLE_STANDARD_ARGS instead of custom code
- Fix reporting not found dependencies (was broken due to SDL2_ttf vs.
  SDL2_TTF), FIND_PACKAGE_HANDLE_STANDARD_ARGS handles this gracefully
2014-12-29 18:23:00 +03:00
Dmitry Marakasov
9e4bdac8cf Add cmake module to find SDL_ttf 2014-12-28 03:31:37 +03:00
Dmitry Marakasov
96c59ff7ed Add checks for useful c++1y features 2014-12-25 22:16:41 +03:00
Dmitry Marakasov
955d6f7bc1 Add SDL_image2 support to cmake 2014-09-05 04:57:32 +04:00
Dmitry Marakasov
99302bb3ac Mark SDL2 detection variables as advanced 2014-01-15 02:25:54 +04:00
Dmitry Marakasov
e5475f781b Fix SDL2 cmake module 2014-01-13 02:19:16 +04:00
Dmitry Marakasov
c122f11643 Initial import 2013-09-06 01:47:05 +04:00