mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-06 05:01:25 -07:00
CMake: fix MSVC __cplusplus (#13934)
This commit is contained in:
parent
2f6abb8aa1
commit
0c71756009
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ macro(qbt_common_config)
|
||||||
target_compile_options(qbt_common_cfg INTERFACE
|
target_compile_options(qbt_common_cfg INTERFACE
|
||||||
/guard:cf
|
/guard:cf
|
||||||
/utf-8
|
/utf-8
|
||||||
|
# https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
|
||||||
|
/Zc:__cplusplus
|
||||||
)
|
)
|
||||||
target_link_options(qbt_common_cfg INTERFACE
|
target_link_options(qbt_common_cfg INTERFACE
|
||||||
/guard:cf
|
/guard:cf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue