cmake throws errors if Lua is not installed

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GEOIP_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /root/src/verlihub-1.0.0
   used as include directory in directory /root/src/verlihub-1.0.0/src
   used as include directory in directory /root/src/verlihub-1.0.0/src
   used as include directory in directory /root/src/verlihub-1.0.0/src
   used as include directory in directory /root/src/verlihub-1.0.0/src
   used as include directory in directory /root/src/verlihub-1.0.0/plugins/plugman
   used as include directory in directory /root/src/verlihub-1.0.0/plugins/forbid
   used as include directory in directory /root/src/verlihub-1.0.0/plugins/chatroom
   used as include directory in directory /root/src/verlihub-1.0.0/plugins/iplog
   used as include directory in directory /root/src/verlihub-1.0.0/plugins/isp
   used as include directory in directory /root/src/verlihub-1.0.0/plugins/messenger
   used as include directory in directory /root/src/verlihub-1.0.0/plugins/stats
   used as include directory in directory /root/src/verlihub-1.0.0/plugins/replacer
   used as include directory in directory /root/src/verlihub-1.0.0/plugins/floodprot
   used as include directory in directory /root/src/verlihub-1.0.0/po
   used as include directory in directory /root/src/verlihub-1.0.0/po
GEOIP_LIBRARIES (ADVANCED)
    linked by target "libverlihub" in directory /root/src/verlihub-1.0.0/src

-- Configuring incomplete, errors occurred!
See also "/root/src/verlihub-1.0.0/build/CMakeFiles/CMakeOutput.log".
See also "/root/src/verlihub-1.0.0/build/CMakeFiles/CMakeError.log".