SDL2/bug_822210_fix_sdl2-config.cmake_whitespace.patch
Igor Gnatenko 063e801036 Fix whitespaces in CMake file (RHBZ #1366868)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-14 09:13:49 +02:00

10 lines
380 B
Diff

diff --git a/sdl2-config.cmake.in b/sdl2-config.cmake.in
index e5a036a..03efbe1 100644
--- a/sdl2-config.cmake.in
+++ b/sdl2-config.cmake.in
@@ -8,3 +8,4 @@ set(SDL2_EXEC_PREFIX "@prefix@")
set(SDL2_LIBDIR "@libdir@")
set(SDL2_INCLUDE_DIRS "@includedir@/SDL2")
set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} @SDL_RLD_FLAGS@ @SDL_LIBS@")
+string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES)