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 a3fce97f authored by Pino Toscano's avatar Pino Toscano

cmake: link to ddcutil only if found

parent 51e24483
......@@ -61,7 +61,9 @@ target_link_libraries(powerdevilupowerbackend
${XCB_XCB_LIBRARY}
${XCB_RANDR_LIBRARY}
powerdevilcore
ddcutil
)
if(DDCUTIL_FOUND)
target_link_libraries(powerdevilupowerbackend ${LIBDDCUTIL_LIBRARY})
endif()
install(TARGETS powerdevilupowerbackend DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/powerdevil)
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