From 3ee3f7625f5f60248ff2a05853bf93e8a00d9171 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 8 Jul 2014 23:02:30 -0700 Subject: [PATCH] Link with SDL2_LIBDIR if necessary --- src/platform/sdl/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/sdl/CMakeLists.txt b/src/platform/sdl/CMakeLists.txt index cad04674e..67c1c9b70 100644 --- a/src/platform/sdl/CMakeLists.txt +++ b/src/platform/sdl/CMakeLists.txt @@ -8,6 +8,7 @@ if (SDL_VERSION EQUAL "2") set(SDL_INCLUDE_DIR ${SDL2_INCLUDE_DIRS}) set(SDL_LIBRARY ${SDL2_LIBRARIES}) set(SDLMAIN_LIBRARY "") + link_directories(${SDL2_LIBDIR}) endif() endif()