SET(LUA_LIBRARIES"${LUA_LIBRARY_lualib};${LUA_LIBRARY_lua};${MATH_LIBRARY_FOR_LUA}"CACHESTRING"This is the concatentation of lua and lualib libraries")
# For Windows and Mac, don't need to explicitly include the math library
ELSE(UNIXANDNOTAPPLE)
SET(LUA_LIBRARIES"${LUA_LIBRARY_lualib};${LUA_LIBRARY_lua}"CACHESTRING"This is the concatentation of lua and lualib libraries")
ENDIF(UNIXANDNOTAPPLE)
ENDIF(LUA_LIBRARY_lualibANDLUA_LIBRARY_lua)
ENDIF(${LUA_LIBRARY_lua}MATCHES"framework")
INCLUDE(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if