Skip to content

Commit 9d21fcc

Browse files
authored
Use compliant preprocessor (#219)
1 parent c0570ce commit 9d21fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ target_compile_options(
226226
triton-onnxruntime-backend PRIVATE
227227
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:GNU>>:
228228
-Wall -Wextra -Wno-unused-parameter -Wno-type-limits -Werror>
229-
$<$<CXX_COMPILER_ID:MSVC>:/Wall /D_WIN32_WINNT=0x0A00 /EHsc>
229+
$<$<CXX_COMPILER_ID:MSVC>:/Wall /D_WIN32_WINNT=0x0A00 /EHsc /Zc:preprocessor>
230230
)
231231

232232
if(${TRITON_ENABLE_GPU})

0 commit comments

Comments
 (0)