diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-06-11 14:45:12 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-06-14 10:29:10 +0200 |
commit | 92fde1bc05326c564d755eb84b729817bc3044b5 (patch) | |
tree | f6b81aa2c68c9daf4440fa911e5741c4dc70c492 /CMakeLists.txt | |
parent | dcf6377c3174c2d6d22170279377f7a3298b27d5 (diff) | |
download | qtimageformats-92fde1bc05326c564d755eb84b729817bc3044b5.tar.gz |
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: I9956b4352e034d4f1d43795e249d9e93875062ed
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 | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 46e457d..e81948d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,14 +10,6 @@ project(QtImageFormats # special case 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) # special case if(NOT TARGET Qt::Gui) |