CMake: hardcode the Qt UI option to ON on Windows
This commit is contained in:
@@ -136,9 +136,14 @@ option(NEW_DYNAREC "Use the PCem v15 (\"new\") dynamic recompiler"
|
|||||||
option(MINITRACE "Enable Chrome tracing using the modified minitrace library" OFF)
|
option(MINITRACE "Enable Chrome tracing using the modified minitrace library" OFF)
|
||||||
option(GDBSTUB "Enable GDB stub server for debugging" OFF)
|
option(GDBSTUB "Enable GDB stub server for debugging" OFF)
|
||||||
option(DEV_BRANCH "Development branch" OFF)
|
option(DEV_BRANCH "Development branch" OFF)
|
||||||
option(QT "Qt GUI" ON)
|
|
||||||
option(DISCORD "Discord Rich Presence support" ON)
|
option(DISCORD "Discord Rich Presence support" ON)
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
set(QT ON)
|
||||||
|
else()
|
||||||
|
option(QT "Qt GUI" ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Development branch features
|
# Development branch features
|
||||||
#
|
#
|
||||||
# Option Description Def. Condition Otherwise
|
# Option Description Def. Condition Otherwise
|
||||||
|
@@ -226,8 +226,6 @@ endif()
|
|||||||
|
|
||||||
if (QT)
|
if (QT)
|
||||||
add_subdirectory(qt)
|
add_subdirectory(qt)
|
||||||
elseif(WIN32)
|
|
||||||
add_subdirectory(win)
|
|
||||||
else()
|
else()
|
||||||
add_compile_definitions(USE_SDL_UI)
|
add_compile_definitions(USE_SDL_UI)
|
||||||
add_subdirectory(unix)
|
add_subdirectory(unix)
|
||||||
|
Reference in New Issue
Block a user