From 1ef0c5ac5a25cc361e8c67c539176f27b17c71e9 Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Thu, 18 Jan 2024 20:34:29 +0100 Subject: [PATCH] Remove useless CMake instructions --- CMakeLists.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 65e34d8..8fee671 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,9 @@ include(KDECMakeSettings) ## QML module: include(ECMQmlModule) +## Disable use of C++ API deprecated in Qt 5.15 +add_compile_definitions(QT_DISABLE_DEPRECATED_UP_TO=0x050F00) + ## Shared macros and functions: if(NOT LIRI_LOCAL_ECM) find_package(LiriCMakeShared "2.0.99" REQUIRED NO_MODULE) @@ -44,12 +47,6 @@ include(LiriSetup) ## Features: include(features.cmake) -## Project setup: -qt6_standard_project_setup(REQUIRES 6.6) - -## Disable use of C++ API deprecated in Qt 5.15 -add_compile_definitions(QT_DISABLE_DEPRECATED_UP_TO=0x050F00) - ## QML import path: if(NOT QML_IMPORT_PATH) set(QML_IMPORT_PATH ${CMAKE_SOURCE_DIR}/bin CACHE STRING "" FORCE)