mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
CMake: fix MSVC __cplusplus (#13934)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user