Skip to content

Commit 0a54e71

Browse files
fix cmake to accept variable length array
1 parent 097603a commit 0a54e71

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
@@ -140,4 +140,5 @@ endif()
140140
string(REPLACE ";" "\;" _VER CPPINTEROP_VERSION)
141141
set_source_files_properties(CppInterOp.cpp PROPERTIES COMPILE_DEFINITIONS
142142
"LLVM_BINARY_DIR=\"${LLVM_BINARY_DIR}\";CPPINTEROP_VERSION=\"${_VAR}\""
143+
COMPILE_FLAGS "-Wno-vla"
143144
)

0 commit comments

Comments
 (0)