mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
cmake: add /Zc:preprocessor to handle new OptTable macros
See:12d8e7c6adSee:3f092f37b7cmake: set MSVC_RUNTIME_LIBRARY for zigcpp
This commit is contained in:
parent
fb88cfdf6a
commit
710d745a54
@ -728,6 +728,9 @@ if(NOT MSVC)
|
||||
-Wno-missing-braces
|
||||
-Wno-comment
|
||||
)
|
||||
else()
|
||||
target_compile_options(zigcpp PRIVATE /Zc:preprocessor)
|
||||
set_property(TARGET zigcpp PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded")
|
||||
endif()
|
||||
|
||||
target_include_directories(zigcpp PUBLIC
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user