diff options
Diffstat (limited to 'llvm/examples')
-rw-r--r-- | llvm/examples/Kaleidoscope/Chapter2/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter2/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter2/CMakeLists.txt index e4f275d01d4..563b8cc848f 100644 --- a/llvm/examples/Kaleidoscope/Chapter2/CMakeLists.txt +++ b/llvm/examples/Kaleidoscope/Chapter2/CMakeLists.txt @@ -11,3 +11,8 @@ if(LLVM_COMPILER_IS_GCC_COMPATIBLE) -Wno-unused-private-field ) endif() + +if(MSVC) + # ignore "warning LNK4199: /DELAYLOAD:shell32.dll ignored; no imports found from shell32.dll" + target_link_libraries(Kaleidoscope-Ch2 PRIVATE "-ignore:4199") +endif() |