You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/kcontrol/info/ConfigureChecks.cmake

22 lines
531 B

#################################################
#
# (C) 2023 DilOS Team
# denis (AT) tambov (DOT) ru
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
# devinfo
check_library_exists( devinfo di_init "" HAVE_DEVINFO )
if( HAVE_DEVINFO )
set( DEVINFO_LIBRARIES devinfo )
else()
if( ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" )
tde_message_fatal( "libdevinfo not found on SunOS platform!" )
endif()
set( DEVINFO_LIBRARIES "" )
endif( )