summaryrefslogtreecommitdiffstats
path: root/kcontrol/info/ConfigureChecks.cmake
blob: ec881f0f265968de8014624485b695cfef0e9d39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#################################################
#
#  (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( )