summaryrefslogtreecommitdiffstats
path: root/util/cmake/configurejson2cmake.py
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-11-10 12:50:21 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-11-10 14:23:08 +0100
commitba6175eb731927f2489cdd7d899616a9889aba67 (patch)
tree295b03e76afed6daf59878ffc9d50b15ecbf72aa /util/cmake/configurejson2cmake.py
parente990b649fa999fd55ccfb223991fce4bb3d6c0e3 (diff)
CMake: Fix missing resources in Windows debug DLLs/EXEs
When configuring a Windows build with NMC and "CMAKE_CONFIGURATION_TYPES=Release;Debug", then with CMake 3.18.4 only the targets of the main configuration would get the version resource compiled in. With 3.19.0 RC 2 the problem cannot be observed. Work-around the issue by revisiting our work-around of another CMake issue: use just one object library per target to embed win32 resources. This works with both tested CMake versions and seems cleaner anyways. Fixes: QTBUG-88267 Change-Id: I20f596ab669ae716c330d7aa60aa717b9e3e4aa7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
0 files changed, 0 insertions, 0 deletions