qatsh/CMakeLists.txt: Set OPTION_QT5 by default

Qt4 has been already end-of-life for some time, so it does not make
sense to target it any more. Qt5 support had been already introduced by
previous commits, so it makes sense to target it by default.
This commit is contained in:
Xavier Del Campo Romero 2024-04-15 01:36:20 +02:00
parent a2fc226a31
commit 524a1f8f72
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ message(STATUS "Configuring qatsh ...")
# External dependencies.
# 1) Qt (4 or 5)
if(NOT DEFINED OPTION_QT5 OR NOT OPTION_QT5)
SET(OPTION_QT5 Off CACHE BOOL "Check to build with Qt 5 (rather than Qt 4)" FORCE)
SET(OPTION_QT5 ON CACHE BOOL "Check to build with Qt 5 (rather than Qt 4)" FORCE)
endif()
if(NOT OPTION_QT5)
find_package(Qt4 4.4 COMPONENTS QtCore QtGui REQUIRED)