diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-21 19:30:19 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-22 19:08:53 +0200 |
commit | a3bd80c08cd046d892c666098093ec20fc9e1321 (patch) | |
tree | 5016362fcda4c093c8cb3274adf4c6d6a7d22719 /src/plugins/imageformats | |
parent | 9959090da84ee8681126da5763365e3e2a746f7e (diff) |
CMake: Regenerate projects
Clean up the state of the projects,
before changing the internal CMake API function names.
Task-number: QTBUG-86815
Change-Id: I90f1b21b8ae4439a4a293872c3bb728dab44a50d
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/imageformats')
-rw-r--r-- | src/plugins/imageformats/jpeg/.prev_CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/plugins/imageformats/jpeg/CMakeLists.txt | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/imageformats/jpeg/.prev_CMakeLists.txt b/src/plugins/imageformats/jpeg/.prev_CMakeLists.txt index b7e0c7cab7..95b3aceff5 100644 --- a/src/plugins/imageformats/jpeg/.prev_CMakeLists.txt +++ b/src/plugins/imageformats/jpeg/.prev_CMakeLists.txt @@ -87,3 +87,8 @@ qt_extend_target(QJpegPlugin CONDITION NOT QT_FEATURE_system_jpeg #### Keys ignored in scope 5:.:../../../3rdparty:../../../3rdparty/libjpeg.pri:GCC: # QMAKE_CFLAGS_WARN_ON = "-Wno-unused-parameter" "-Wno-main" + +qt_extend_target(QJpegPlugin CONDITION MSVC AND NOT QT_FEATURE_system_jpeg + DEFINES + _CRT_SECURE_NO_WARNINGS +) diff --git a/src/plugins/imageformats/jpeg/CMakeLists.txt b/src/plugins/imageformats/jpeg/CMakeLists.txt index 16584bdb7d..52c3aa6911 100644 --- a/src/plugins/imageformats/jpeg/CMakeLists.txt +++ b/src/plugins/imageformats/jpeg/CMakeLists.txt @@ -97,3 +97,8 @@ endif() #### Keys ignored in scope 5:.:../../../3rdparty:../../../3rdparty/libjpeg.pri:GCC: # QMAKE_CFLAGS_WARN_ON = "-Wno-unused-parameter" "-Wno-main" + +qt_extend_target(QJpegPlugin CONDITION MSVC AND NOT QT_FEATURE_system_jpeg + DEFINES + _CRT_SECURE_NO_WARNINGS +) |