diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-05-11 13:15:20 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-05-20 13:06:06 +0200 |
commit | 55eb94cdbdf1b1fbd6424aa06921bc79123f88cd (patch) | |
tree | 5a0c959030c94444ceaf08af2ac6c7d8dcc30045 /cmake/QtStandaloneTestsConfig.cmake.in | |
parent | c0188b2dbd7e34b359b091865f19b87bc12d7bd5 (diff) |
CMake: Use the PRODUCT_NAME for the iOS display name like qmake
This ensures that the Xcode 'Display name' input under
${target} -> General -> Identity -> Display name is not empty.
Because adding ${PRODUCT_NAME} directly in the Info.plist.in template
will cause CMake to evaluate it as variable expansion, work around the
issue by putting the dollar sign into a separate cache variable that
after evaluation will result in ${PRODUCT_NAME} being in the file
verbatim, so that Xcode evaluate it at build time.
Amends 4d838dae5a821e9e5f013ba1d5a494ece1b5180e
Pick-to: 6.2 6.3
Task-number: QTBUG-95838
Change-Id: I2d1090cc8e84b32442f7daca2d4ce5e3ad413c68
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'cmake/QtStandaloneTestsConfig.cmake.in')
0 files changed, 0 insertions, 0 deletions