kde-workspace/kinfocenter/Modules/CMakeLists.txt
Ivailo Monev 27b477c284 kinfocenter: reimplement usbview module via libusb
now it will function on non-Linux hosts too

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-27 10:46:56 +03:00

30 lines
912 B
CMake

add_subdirectory( infosummary )
add_subdirectory( memory )
add_subdirectory( devinfo )
add_subdirectory( info )
add_subdirectory( samba )
add_subdirectory( nics )
add_subdirectory( pci )
add_feature_info("OpenGL support" OPENGL_FOUND "View OpenGL details in kinfocenter." )
add_feature_info("EGL support" OpenGL_EGL_FOUND "View EGL details in kinfocenter." )
add_feature_info("DRM support" LIBDRM_FOUND "View 3D acceleration details in kinfocenter." )
add_feature_info("USB support" LIBUSB_FOUND "USB details in kinfocenter." )
if((OPENGL_FOUND AND OPENGL_GLU_FOUND) OR OpenGL_EGL_FOUND)
add_subdirectory( opengl )
else()
message(STATUS "OpenGL/ES2.0 information module has been disabled.")
endif()
if(LIBUSB_FOUND)
add_subdirectory( usbview )
else()
message(STATUS "USB information module has been disabled.")
endif()
if(RAW1394_FOUND)
add_subdirectory( view1394 )
endif(RAW1394_FOUND)