mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 15:15:07 +00:00
Fix compile error when use msvc 2019 (#754)
See https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
This commit is contained in:
parent
40145807d5
commit
aca02d209b
@ -45,6 +45,7 @@ if(MSVC)
|
||||
/wd4800
|
||||
/wd4068 # Disable unknown pragma warning
|
||||
/std:c++17
|
||||
/Zc:__cplusplus
|
||||
$<$<CONFIG:Debug>:/FS>
|
||||
)
|
||||
# relink system libs
|
||||
|
Loading…
Reference in New Issue
Block a user