Hello, I’m using the latest version of Bazzite available and I’m currently trying to install a special theme to my Bazzite installation called “vistathemeplasma”, but a huge chunk of the theme has to be manually compiled using cmake and so I went on doing that.
But everytime I try to compile Cmake complains it cannot find “libdrm” in the system
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find Libdrm (missing: Libdrm_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) /usr/lib64/cmake/KWin/FindLibdrm.cmake:69 (find_package_handle_standard_args) /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) /usr/lib64/cmake/KWin/KWinConfig.cmake:48 (find_dependency) CMakeLists.txt:70 (find_package)
But the odd thing is that libdrm is in the system, changing directory to /usr/lib64 and running ls -la | grep libdrm.so outputs this
eda@bazzite:/usr/lib64$ ls -la | grep libdrm.so
lrwxrwxrwx. 9 root root 17 Oct 18 12:28 libdrm.so -> libdrm.so.2.126.0
lrwxrwxrwx. 9 root root 17 Oct 18 12:28 libdrm.so.2 -> libdrm.so.2.126.0
-rwxr-xr-x. 3 root root 95272 Dec 31 1969 libdrm.so.2.126.0
Which clearly show that libdrm is actually in the system. I’ve tried reinstalling libdrm to no avail, and even installing libdrm-devel which should install necessary developer headers for libdrm but the system complains that “libdrm.so file already exists" with a system linked file.
Any way I could somehow tell cmake or the system itself that libdrm does exist? Or even a way to uninstall libdrm (I tried but wouldn’t let me) to then reinstall it?