| author | |
| committer | |
| log | 710d745a548cffd2535cba2aaf904f9fc96aca94 |
| tree | 38ca94b96df928b863a16b7e56c7a70d74bd18ad |
| parent | fb88cfdf6aa3fabba700d8340f025e4a3e0d3fb2 |
See: https://github.com/llvm/llvm-project/commit/12d8e7c6ade55bba241259312e3e4bdcf6aeab81
See: https://github.com/llvm/llvm-project/commit/3f092f37b7362447cbb13f5502dae4bdd5762afd
cmake: set MSVC_RUNTIME_LIBRARY for zigcpp1 files changed, 3 insertions(+), 0 deletions(-)
CMakeLists.txt+3| ... | @@ -728,6 +728,9 @@ if(NOT MSVC) | ... | @@ -728,6 +728,9 @@ if(NOT MSVC) |
| 728 | -Wno-missing-braces | 728 | -Wno-missing-braces |
| 729 | -Wno-comment | 729 | -Wno-comment |
| 730 | ) | 730 | ) |
| 731 | else() | ||
| 732 | target_compile_options(zigcpp PRIVATE /Zc:preprocessor) | ||
| 733 | set_property(TARGET zigcpp PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded") | ||
| 731 | endif() | 734 | endif() |
| 732 | 735 | ||
| 733 | target_include_directories(zigcpp PUBLIC | 736 | target_include_directories(zigcpp PUBLIC |