From 524a1f8f7243d9c8b246c2d76816b39bac369586 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 15 Apr 2024 01:36:20 +0200 Subject: [PATCH] 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. --- qatsh/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qatsh/CMakeLists.txt b/qatsh/CMakeLists.txt index 627be0f..ab4ce15 100644 --- a/qatsh/CMakeLists.txt +++ b/qatsh/CMakeLists.txt @@ -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)