diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-22 10:16:58 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-23 16:59:06 +0200 |
commit | 403213240c7b2dc09378e1cb8c147131e368f90c (patch) | |
tree | ff86910332629fe5e2fab59a30fb863a5febb366 /src/3rdparty/libpng/CMakeLists.txt | |
parent | e0c62a48b8a826a46a143e57e94b2a0ea73c7cae (diff) |
CMake: Regenerate projects to use new qt_internal_ API
Modify special case locations to use the new API as well.
Clean up some stale .prev files that are not needed anymore.
Clean up some project files that are not used anymore.
Task-number: QTBUG-86815
Change-Id: I9947da921f98686023c6bb053dfcc101851276b5
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/3rdparty/libpng/CMakeLists.txt')
-rw-r--r-- | src/3rdparty/libpng/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/3rdparty/libpng/CMakeLists.txt b/src/3rdparty/libpng/CMakeLists.txt index 24fca5d925..9ef367563b 100644 --- a/src/3rdparty/libpng/CMakeLists.txt +++ b/src/3rdparty/libpng/CMakeLists.txt @@ -4,7 +4,7 @@ ## BundledLibpng Generic Library: ##################################################################### -qt_add_3rdparty_library(BundledLibpng +qt_internal_add_3rdparty_library(BundledLibpng QMAKE_LIB_NAME libpng STATIC INSTALL @@ -39,17 +39,17 @@ qt_set_symbol_visibility_hidden(BundledLibpng) ## Scopes: ##################################################################### -qt_extend_target(BundledLibpng CONDITION QT_FEATURE_system_zlib +qt_internal_extend_target(BundledLibpng CONDITION QT_FEATURE_system_zlib LIBRARIES ZLIB::ZLIB ) -qt_extend_target(BundledLibpng CONDITION NOT QT_FEATURE_system_zlib +qt_internal_extend_target(BundledLibpng CONDITION NOT QT_FEATURE_system_zlib INCLUDE_DIRECTORIES ../zlib/src ) -qt_extend_target(BundledLibpng CONDITION NOT QT_FEATURE_system_zlib AND NOT no_core_dep +qt_internal_extend_target(BundledLibpng CONDITION NOT QT_FEATURE_system_zlib AND NOT no_core_dep LIBRARIES Qt::Core ) |