Linking with the lua54.dll

This commit is contained in:
Zoe Roux
2021-06-16 17:12:24 +02:00
parent 12db15d8a6
commit ddd848dd8c
+1 -1
View File
@@ -22,7 +22,7 @@ if (NOT LUA_FOUND)
if (EXISTS ${CMAKE_SOURCE_DIR}/include/lua.hpp)
message("Using local lua")
set(LUA_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include/)
set(LUA_LIBRARIES ${CMAKE_SOURCE_DIR})
set(LUA_LIBRARIES ${CMAKE_SOURCE_DIR}/lua54.dll)
else()
message(FATAL_ERROR "Lua could not be found.")
endif()