mirror of https://github.com/snes9xgit/snes9x.git
Qt: Allow building on unix without SDL video support.
This commit is contained in:
parent
959da2aa04
commit
73b71c865b
|
@ -154,6 +154,9 @@ else()
|
||||||
../external/glad/src/egl.c)
|
../external/glad/src/egl.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT (${CMAKE_SYSTEM_NAME} STREQUAL "Windows"))
|
||||||
|
set(SDL_UNIX_CONSOLE_BUILD BOOL ON FORCE)
|
||||||
|
endif()
|
||||||
set(SDL_GPU CACHE BOOL OFF FORCE)
|
set(SDL_GPU CACHE BOOL OFF FORCE)
|
||||||
set(SDL_VIDEO CACHE BOOL OFF FORCE)
|
set(SDL_VIDEO CACHE BOOL OFF FORCE)
|
||||||
set(SDL_RENDER CACHE BOOL OFF FORCE)
|
set(SDL_RENDER CACHE BOOL OFF FORCE)
|
||||||
|
|
Loading…
Reference in New Issue