cmake_minimum_required(VERSION 3.26) project(intel_backlight_ctl C) set(CMAKE_C_STANDARD 99) add_executable(intel_backlight_ctl intel_backlight_ctl.c) target_link_libraries(intel_backlight_ctl PRIVATE m)