mirror of https://github.com/mgba-emu/mgba.git
Link with SDL2_LIBDIR if necessary
This commit is contained in:
parent
f1b4e7039f
commit
3ee3f7625f
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue