1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-04 09:39:46 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
Paul Cercueil
528a686f24 cmake: SDL2: Fix SDL2 headers detection
We are looking for the SDL.h file inside a SDL2 folder located in the
standard include paths, so the path suffix should be simply SDL2.

The /usr/local/include/SDL2 and /usr/include/SDL2 are standard paths
with the SDL2 suffix, so they can be dropped.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2020-03-16 22:36:30 +01:00
Anonymous Maarten
8efde3a5cb cmake: simplify FindSDL2 + detect SDL2 version
+ allow switching between static and shared SDL2
  without complete reconfiguration and rebuild.
2019-01-05 05:14:25 +01:00
Anonymous Maarten
b545b79a4b cmake: do not use rwdep::xxx targets 2018-08-15 09:12:01 +02:00
Anonymous Maarten
b6a2b2181d cmake: do not override find modules but wrap them separately 2018-06-14 02:10:54 +02:00
Anonymous Maarten
66b576dcee cmake: simplify packages to ALIASed libraries 2017-12-17 01:36:08 +00:00
Anonymous Maarten
934506f0c8 cmake: Optionally create XXX:XXX targets for override packages 2017-12-17 01:36:08 +00:00
Anonymous Maarten
66a28acaa4 cmake: make SDL2 an imported target 2017-10-29 20:40:57 +00:00
Jannik Vogel
d92bbcdf0d CMake: Use FindSDL2.cmake from OpenMW 2016-08-12 02:13:22 +02:00
Jannik Vogel
9bfb9f8002 CMake: Use FindSDL2.cmake 2016-06-22 23:58:27 +02:00