From 80d1d624d378d4d8c03fb26ef286baf5479b6497 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 17 Nov 2014 16:35:36 +0500 Subject: Support dynamic loading of SDL libraries This is mainly to address old issue when one need to have SDL library installed in order to use our official builds. Some hip distros already installs SDL, but it's not quite the same across all the variety of the distros. We also now switching to SDL-2.0, most of the distros have it in repositories already, so it shouldn't be huge deal to install it if needed. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D878 --- extern/sdlew/CMakeLists.txt | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 extern/sdlew/CMakeLists.txt (limited to 'extern/sdlew/CMakeLists.txt') diff --git a/extern/sdlew/CMakeLists.txt b/extern/sdlew/CMakeLists.txt new file mode 100644 index 00000000000..8571ad9251d --- /dev/null +++ b/extern/sdlew/CMakeLists.txt @@ -0,0 +1,40 @@ +# ***** BEGIN GPL LICENSE BLOCK ***** +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# The Original Code is Copyright (C) 2006, Blender Foundation +# All rights reserved. +# +# The Original Code is: all of this file. +# +# Contributor(s): Jacques Beaurain. +# +# ***** END GPL LICENSE BLOCK ***** + +set(INC + . + include +) + +set(INC_SYS + +) + +set(SRC + include/sdlew.h + src/sdlew.c +) + +blender_add_lib(extern_sdlew "${SRC}" "${INC}" "${INC_SYS}") -- cgit v1.2.3