From 2ad504e0be9654b2b9b5bd96068deb16210f80b6 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 11 Jun 2021 14:45:12 +0200 Subject: Remove unneeded CMake variable assignments Remove assignments to the transitionary variables QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS and QT_USE_FIXED_QT_ADD_RESOURCE_BASE. Both are not needed anymore. Task-number: QTBUG-94444 Change-Id: Ibe6affb6840ead2377216c8331909b8a39d06dcc Reviewed-by: Qt CI Bot Reviewed-by: Alexandru Croitor --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 86c3f8e..5e8fab4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,14 +10,6 @@ project(QtSvg LANGUAGES CXX C ) -# special case begin -# Make sure we only use latest private CMake API, aka no compatibility wrappers. -set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE) - -# Make sure we use the fixed BASE argument of qt_add_resource. -set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE) -# special case end - find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Widgets Xml) # special case qt_build_repo() -- cgit v1.2.1