From 06cf582b09fe55fc7f165c786ec07f7b135e4ac9 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 19 May 2021 15:33:47 +0200 Subject: Use fixed qt_add_resource BASE argument Task-number: QTBUG-86726 Change-Id: Ib270d786ded8cc64c2cc596b92bb4e30051de311 Reviewed-by: Qt CI Bot Reviewed-by: Alexandru Croitor --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e83d3e..c8c1150 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,9 @@ project(QtWebSockets # special case LANGUAGES CXX C ) +# Make sure we use the fixed BASE argument of qt_add_resource. +set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE) + find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Network) # special case find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Quick QuickTest) # special case @@ -18,4 +21,3 @@ if(NOT TARGET Qt::Network) return() endif() qt_build_repo() - -- cgit v1.2.1