summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e814cff19..2da983cad 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -35,6 +35,7 @@ if (MSVC)
35 # /volatile:iso - Use strict standards-compliant volatile semantics. 35 # /volatile:iso - Use strict standards-compliant volatile semantics.
36 # /Zc:externConstexpr - Allow extern constexpr variables to have external linkage, like the standard mandates 36 # /Zc:externConstexpr - Allow extern constexpr variables to have external linkage, like the standard mandates
37 # /Zc:inline - Let codegen omit inline functions in object files 37 # /Zc:inline - Let codegen omit inline functions in object files
38 # /Zc:preprocessor - Enable standards-conforming preprocessor
38 # /Zc:throwingNew - Let codegen assume `operator new` (without std::nothrow) will never return null 39 # /Zc:throwingNew - Let codegen assume `operator new` (without std::nothrow) will never return null
39 # /GT - Supports fiber safety for data allocated using static thread-local storage 40 # /GT - Supports fiber safety for data allocated using static thread-local storage
40 add_compile_options( 41 add_compile_options(
@@ -48,7 +49,7 @@ if (MSVC)
48 /volatile:iso 49 /volatile:iso
49 /Zc:externConstexpr 50 /Zc:externConstexpr
50 /Zc:inline 51 /Zc:inline
51 /Zc:preprocessor # Use standards-conforming preprocessor 52 /Zc:preprocessor
52 /Zc:throwingNew 53 /Zc:throwingNew
53 /GT 54 /GT
54 55