macOS: Use Qt 6 by default

This commit is contained in:
Nadia Holmquist Pedersen 2022-03-06 20:07:23 +01:00
parent b1565ec87a
commit 088d49b9cb
1 changed files with 6 additions and 1 deletions

View File

@ -39,7 +39,12 @@ SET(SOURCES_QT_SDL
${CMAKE_SOURCE_DIR}/res/melon.qrc ${CMAKE_SOURCE_DIR}/res/melon.qrc
) )
option(USE_QT6 "Build using Qt 6 instead of 5" OFF) if (APPLE)
option(USE_QT6 "Build using Qt 6 instead of 5" ON)
else()
option(USE_QT6 "Build using Qt 6 instead of 5" OFF)
endif()
if (WIN32) if (WIN32)
set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -i <SOURCE> -o <OBJECT>") set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -i <SOURCE> -o <OBJECT>")