Blender Git Loki

Git Commits -> Revision 9a10b20

Revision 9a10b20 by Sybren A. Stüvel (master)
February 16, 2015, 08:27 (GMT)
Ensure CMake finds SDL 2.0

CMake 2.8 doesn't search /usr/include/SDL2, which is the include directory
for SDL 2.x on Ubuntu Linux (and possibly others). This results in SDL 1.2
headers being found when WITH_SDL_DYNLOAD=OFF, and our shipped SDL 2.0
headers when WITH_SDL_DYNLOAD=ON. This patch ensures that in both
cases the correct SDL headers are used.

Reviewers: sergey, campbellbarton

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D1112

Commit Details:

Full Hash: 9a10b208bacd4258e528532d400b25aeb33591d9
Parent Commit: 5865230
Lines Changed: +81, -5

1 Added Path:

/build_files/cmake/Modules/FindSDL2.cmake (+72, -0) (View)

1 Modified Path:

/CMakeLists.txt (+9, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021