Commit 18263ff6 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Use add_definitions instead of add_compile_definitions

parent c7590f90
......@@ -55,7 +55,7 @@ find_package(XCB REQUIRED COMPONENTS XCB RANDR DPMS)
option(HAVE_DDCUTIL "DDCUtil library support" OFF)
if(HAVE_DDCUTIL)
find_package(DDCUtil REQUIRED)
add_compile_definitions(WITH_DDCUTIL)
add_definitions(-DWITH_DDCUTIL)
set_package_properties(DDCUtil
PROPERTIES DESCRIPTION "DDCUtil library support"
TYPE OPTIONAL
......
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