mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-09 06:17:58 +00:00
CMake: fix MSVC __cplusplus (#13934)
This commit is contained in:
parent
2f6abb8aa1
commit
0c71756009
@ -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…
Reference in New Issue
Block a user