Skip to content

Commit 8a653b4

Browse files
fix cmake to accept variable length array
1 parent 6b8f0f4 commit 8a653b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Interpreter/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,5 @@ endif()
138138
string(REPLACE ";" "\;" _VER CPPINTEROP_VERSION)
139139
set_source_files_properties(CppInterOp.cpp PROPERTIES COMPILE_DEFINITIONS
140140
"LLVM_BINARY_DIR=\"${LLVM_BINARY_DIR}\";CPPINTEROP_VERSION=\"${_VAR}\""
141+
COMPILE_FLAGS "-Wno-vla"
141142
)

0 commit comments

Comments
 (0)