commit | 8edeaaf921e4fa0769af2e85def30246e52dca73 | [log] [tgz] |
---|---|---|
author | onqtam <vik.kirilov@gmail.com> | Tue Aug 16 07:12:58 2016 +0300 |
committer | onqtam <vik.kirilov@gmail.com> | Wed Sep 21 15:46:12 2016 +0300 |
tree | 6604289cb1847200a259872706213f0ecc5f7c70 | |
parent | c30ab662d01358ff743e437db4b1faf236fe7d46 [diff] [blame] |
added /std:c++latest for MSVC
diff --git a/scripts/common.cmake b/scripts/common.cmake index 54f77e1..9896430 100644 --- a/scripts/common.cmake +++ b/scripts/common.cmake
@@ -139,6 +139,7 @@ endif() if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") + add_compiler_flags(/std:c++latest) # for post c++14 updates in MSVC add_compiler_flags(/WX) add_compiler_flags(/W4) # /Wall is too aggressive - even the standard C headers give thousands of errors... endif()