Commit ea6271ba authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Properly define an optional feature, i.e. ddcutils

parent 30330e35
......@@ -52,8 +52,9 @@ find_package(UDev REQUIRED)
find_package(XCB REQUIRED COMPONENTS XCB RANDR DPMS)
option(WITH_DDCUTIL "DDCUtil library support" OFF)
if(WITH_DDCUTIL)
find_package(DDCUtil)
find_package(DDCUtil REQUIRED)
set_package_properties(DDCUtil
PROPERTIES DESCRIPTION "DDCUtil library support"
TYPE OPTIONAL
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment