summaryrefslogtreecommitdiffstats
path: root/kcontrol/usbview/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/usbview/CMakeLists.txt')
-rw-r--r--kcontrol/usbview/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcontrol/usbview/CMakeLists.txt b/kcontrol/usbview/CMakeLists.txt
index 1584d0699..61138a72c 100644
--- a/kcontrol/usbview/CMakeLists.txt
+++ b/kcontrol/usbview/CMakeLists.txt
@@ -26,7 +26,7 @@ link_directories(
install( FILES kcmusb.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
if( WITH_USBIDS )
- set_source_files_properties( usbdb.cpp PROPERTIES COMPILE_FLAGS -DUSBIDS_FILE=\\"${WITH_USBIDS}\\" )
+ set_property( SOURCE usbdb.cpp APPEND PROPERTY COMPILE_DEFINITIONS USBIDS_FILE="${WITH_USBIDS}" )
else( )
install( FILES usb.ids DESTINATION ${DATA_INSTALL_DIR} )
endif( )