Warning, /plasma/wacomtablet/autotests/faketablet/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include(CheckTypeSize) 0002 include(CheckIncludeFile) 0003 0004 if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") 0005 set(CMAKE_EXTRA_INCLUDE_FILES "linux/uinput.h") 0006 elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") 0007 set(CMAKE_EXTRA_INCLUDE_FILES "dev/evdev/uinput.h") 0008 endif() 0009 0010 check_type_size("struct uinput_setup" STRUCT_UINPUT_SETUP) 0011 set(CMAKE_EXTRA_INCLUDE_FILES) 0012 0013 if(HAVE_STRUCT_UINPUT_SETUP) 0014 add_executable(faketablet faketablet.cpp) 0015 else() 0016 message(STATUS "No suitable uinput API, fake tablet is disabled") 0017 endif() 0018 0019 add_executable(setmapping setmapping.cpp) 0020 target_link_libraries(setmapping ${WACOM_KDED_TEST_LIBS})