Blender Git Commit Log

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021