diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-05-19 15:33:47 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-05-22 21:12:32 +0200 |
commit | 06cf582b09fe55fc7f165c786ec07f7b135e4ac9 (patch) | |
tree | 1044e2b283261a62ff612236c2a31b2d43261b44 /CMakeLists.txt | |
parent | eb30aeaeadc31d5aa361fd098c98058f0d3ad024 (diff) | |
download | qtwebsockets-06cf582b09fe55fc7f165c786ec07f7b135e4ac9.tar.gz |
Use fixed qt_add_resource BASE argument
Task-number: QTBUG-86726
Change-Id: Ib270d786ded8cc64c2cc596b92bb4e30051de311
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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() - |