Pass flags with dash to rc.exe when auto-generating win32 rc files
Fixes clang-cl build: clang-cl: error: no such file or directory: '/c65001' Change-Id: I9f134f866f17d1eeb12a28b72580151c409a98f6 Reviewed-by: Yuhang Zhao <yuhangzhao@deepin.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 67fc186f9ca919db77cc2c058e29cda2bc8b041c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
8c17fa89d3
commit
e33ed8e2f7
@ -1206,7 +1206,7 @@ function(_qt_internal_generate_win32_rc_file target)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
set(extra_rc_flags "/c65001 /DWIN32 /nologo")
|
||||
set(extra_rc_flags "-c65001 -DWIN32 -nologo")
|
||||
else()
|
||||
set(extra_rc_flags)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user