We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 323b5fc commit 2a5c211Copy full SHA for 2a5c211
lib/Interpreter/CMakeLists.txt
@@ -140,5 +140,10 @@ endif()
140
string(REPLACE ";" "\;" _VER CPPINTEROP_VERSION)
141
set_source_files_properties(CppInterOp.cpp PROPERTIES COMPILE_DEFINITIONS
142
"LLVM_BINARY_DIR=\"${LLVM_BINARY_DIR}\";CPPINTEROP_VERSION=\"${_VAR}\""
143
- COMPILE_FLAGS "-Wno-vla"
144
)
+
145
+if(NOT WIN32)
146
+ set_source_files_properties(CppInterOp.cpp PROPERTIES
147
+ COMPILE_FLAGS "-Wno-vla"
148
+ )
149
+endif()
0 commit comments