summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2021-05-12 20:17:47 +0200
committerSlávek Banko <[email protected]>2021-05-18 02:12:37 +0200
commit9bdd3a0e4724a591f0cdc6dd8bdd60dc794354e4 (patch)
treee1f3c78fd2ad1f6186821bc2a97e765cc9012307 /config.h.cmake
parent865e10771879338bfdab0f0a2adb387fd3c44b50 (diff)
downloadtdebase-9bdd3a0e4724a591f0cdc6dd8bdd60dc794354e4.tar.gz
tdebase-9bdd3a0e4724a591f0cdc6dd8bdd60dc794354e4.zip
Make the option -DWITH_USBIDS more visible for packagers.
Look for installed usb.ids file, if not found, default to the one provided in source. usb.ids file has been updated to Version 2021.03.31 Signed-off-by: gregory guy <[email protected]> Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 1389e296969df0acf7f393b698a3a0f1fb572026)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 0ff887988..2e8cb800b 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -7,6 +7,9 @@
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
+/* Define the path for the usb.ids file */
+#define USBIDS_FILE "@USBIDS_FILE@"
+
// Defined if compiler supports long long type.
#cmakedefine HAVE_LONG_LONG 1