Skip to content

Commit

Permalink
CMake: fix MSVC __cplusplus (qbittorrent#13934)
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoPombal committed May 27, 2021
1 parent 2f6abb8 commit 0c71756
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/Modules/MacroQbtCommonConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ macro(qbt_common_config)
target_compile_options(qbt_common_cfg INTERFACE
/guard:cf
/utf-8
# https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
/Zc:__cplusplus
)
target_link_options(qbt_common_cfg INTERFACE
/guard:cf
Expand Down

0 comments on commit 0c71756

Please sign in to comment.