Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 687587ea authored by Jonathan Riddell's avatar Jonathan Riddell 🏄

Disable DDCUtil by default

Summary: Disable DDCUtil by default

Test Plan: built it, checked powerdevilupowerbackend.so depends

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7722
parent ff2bec62
......@@ -52,15 +52,15 @@ find_package(UDev REQUIRED)
find_package(XCB REQUIRED COMPONENTS XCB RANDR DPMS)
find_package(DDCUtil)
set_package_properties(DDCUtil
PROPERTIES DESCRIPTION "DDCUtil library support"
TYPE OPTIONAL
PURPOSE "Set monitor settings over DDC/CI channel"
)
if(DDCUTIL_FOUND)
add_definitions(-DWITH_DDCUTIL)
if(WITH_DDCUTIL)
find_package(DDCUtil)
set_package_properties(DDCUtil
PROPERTIES DESCRIPTION "DDCUtil library support"
TYPE OPTIONAL
PURPOSE "Set monitor settings over DDC/CI channel"
)
else()
add_feature_info("DDCUtil" "Off" "DDCUtil library support is disabled by default as recomemded by authors, add -DWITH_DDCUTIL=On to enable")
endif()
include_directories (
......
Markdown is supported
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