Cmake cant find luajit

Found a solution, found a problem
Soltuoion: use root

usr_40476@localhost:~> sudo g510s -d 3
G510s: debugging enabled, level 3
libg15: Initialising USB
libg15: Skipping libusb initialise
libg15: libg15 1.3.1
libg15: Found 1 supported devices
libg15: Logitech G15 skipped
libg15: Logitech G11 skipped
libg15: Logitech Z-10 skipped
libg15: Logitech G15 v2 skipped
libg15: Logitech Gamepanel skipped
libg15: Logitech G13 skipped
libg15: Logitech G110 skipped
libg15: Trying to find Logitech G510
libg15: Found Logitech G510, trying to open it
libg15: Device has 1 possible configurations
libg15: Device has 1 Alternate Settings
libg15: Interface 1 has 2 Endpoints
libg15: Trying to detach driver currently attached: "dummy"
libg15: Success, detached the driver
libg15: Found "Extra Keys" endpoint 2 with address 0x82 maxtransfersize=8 
libg15: Found "LCD" endpoint 3 with address 0x3 maxtransfersize=64 
libg15: Done opening the keyboard
libg15: Sending G510 initialisation.
G510s: found device 046d:c22d
G510s: failed to read save file, using default settings

(g510s:7483): Gtk-WARNING **: 12:22:04.139: cannot open display: 
g510s: os/threads_posix.h:46: usbi_mutex_lock: Assertion `pthread_mutex_lock(mutex) == 0' failed.
g510s: os/threads_posix.h:58: usbi_mutex_destroy: Assertion `pthread_mutex_destroy(mutex) == 0' failed.
Aborted
usr_40476@localhost:~> 

problem: Keyboard shows date but stops before showing current time, (Image included)
I had to turn off the backlight since my webcam is super goofy
Text (estimated location)


                          PM
Saturday January    6 2024