Skip to content

Commit f466998

Browse files
committed
[CMAKE] Clarify MSVC LLVM include handling
1 parent 9da819c commit f466998

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/modules/LLVM.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if(NOT ${USE_LLVM} MATCHES ${IS_FALSE_PATTERN})
3636
add_definitions(${LLVM_DEFINITIONS})
3737
add_library(tvm_llvm_header INTERFACE)
3838
if(MSVC)
39-
# MSVC treats the operand after -isystem as a source file.
39+
# MSVC treats GCC-style -isystem operands as source files.
4040
target_include_directories(tvm_llvm_header SYSTEM INTERFACE ${LLVM_INCLUDE_DIRS})
4141
target_compile_options(tvm_llvm_header INTERFACE ${LLVM_DEFINITIONS})
4242
else()

0 commit comments

Comments
 (0)