I think this is correct way to use iterate over it as a hashmap. don't have much lua practice
file(GLOB luafiles *.lua)
file(GLOB cfgfiles *.cfg)
file(GLOB hwpfiles *.hwp)
install(FILES
${luafiles}
${cfgfiles}
${hwpfiles}
DESTINATION ${SHAREPATH}Data/Scripts/Multiplayer)