all repos — mgba @ b677d41469cb4fc0cced47c69729ecf3681e927b

mGBA Game Boy Advance Emulator

SDL: Do not cache SDL variables
Jeffrey Pfau jeffrey@endrift.com
Wed, 18 Mar 2015 01:36:48 -0700
commit

b677d41469cb4fc0cced47c69729ecf3681e927b

parent

c75224ce8cb68de4f10b8695eaa7372fb10a5f26

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/platform/sdl/CMakeLists.txtsrc/platform/sdl/CMakeLists.txt

@@ -5,9 +5,9 @@ if (SDL_VERSION EQUAL "2")

include(FindPkgConfig) pkg_search_module(SDL2 sdl2) if (SDL2_FOUND) - set(SDL_INCLUDE_DIR ${SDL2_INCLUDE_DIRS} CACHE INTERNAL "") - set(SDL_LIBRARY ${SDL2_LIBRARIES} CACHE INTERNAL "") - set(SDLMAIN_LIBRARY "" CACHE INTERNAL "") + set(SDL_INCLUDE_DIR ${SDL2_INCLUDE_DIRS}) + set(SDL_LIBRARY ${SDL2_LIBRARIES}) + set(SDLMAIN_LIBRARY) link_directories(${SDL2_LIBDIR}) set(SDL_VERSION_DEBIAN "2-2.0-0") endif()