try to fix build

This commit is contained in:
Dedmen Miller 2021-04-26 17:37:51 +02:00
parent 045961e7a0
commit dac88f52b8
No known key found for this signature in database
GPG Key ID: F426449786587CC2

View File

@ -34,7 +34,7 @@ set(LUA_LIB_SRCS
)
if(LUA_BUILD_AS_CXX)
SET_SOURCE_FILES_PROPERTIES(${LUA_LIB_SRCS} PROPERTIES LANGUAGE CXX )
set_source_files_properties(${LUA_LIB_SRCS} "src/lua.c" "src/luac.c" PROPERTIES LANGUAGE CXX )
endif()
add_library(lua_static STATIC ${LUA_LIB_SRCS})