fix: fix MSVC __VA_OPT__ error
This commit is contained in:
1 parent
f65eff6edf
commit
f8a696b4e8
1 file changed
+3
@@ -113,6 +113,9 @@ target_compile_options(YYCCommonplace
|
||||
PUBLIC
|
||||
# Order build as UTF-8 in MSVC
|
||||
$<$<CXX_COMPILER_ID:MSVC>:/utf-8>
|
||||
# Order preprocessor conformance mode (fix __VA_OPT__ error in MSVC)
|
||||
$<$<CXX_COMPILER_ID:MSVC>:/Zc:preprocessor>
|
||||
|
||||
)
|
||||
|
||||
# Fix GCC std::stacktrace link error
|
||||
|
||||
Reference in new issue
Block a user