fix: compile flags for libleanruntime.bc

This commit is contained in:
Sebastian Ullrich 2021-07-13 11:46:08 +02:00
parent 92403ae7e1
commit 754286dc6d

View file

@ -7,6 +7,7 @@ add_library(runtime OBJECT ${RUNTIME_OBJS})
add_library(leanruntime ${RUNTIME_OBJS})
if(LLVM)
string(REPLACE ";" " " RUNTIME_OBJS_STR "${RUNTIME_OBJS};lean_inlines.c")
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
add_custom_command(
OUTPUT libleanruntime.bc
DEPENDS ${RUNTIME_OBJS} lean_inlines.c