Meta: Remove unused variables in CMakeLists.txt

Both USB_IDS_PATH and PCI_IDS_PATH are now unused so can be safely
removed.
This commit is contained in:
MacDue 2022-10-08 17:18:52 +01:00 committed by Sam Atkins
parent 2ba3229ac6
commit 72605e854f
Notes: sideshowbarker 2024-07-17 06:10:04 +09:00

View file

@ -249,7 +249,6 @@ export_components("${CMAKE_BINARY_DIR}/components.ini")
set(PCI_IDS_FILE pci.ids)
set(PCI_IDS_URL https://pci-ids.ucw.cz/v2.2/${PCI_IDS_FILE})
set(PCI_IDS_PATH ${CMAKE_BINARY_DIR}/${PCI_IDS_FILE})
set(PCI_IDS_INSTALL_PATH ${CMAKE_INSTALL_DATAROOTDIR}/${PCI_IDS_FILE})
if(ENABLE_PCI_IDS_DOWNLOAD AND NOT EXISTS ${CMAKE_STAGING_PREFIX}/${PCI_IDS_INSTALL_PATH} )
@ -258,7 +257,6 @@ endif()
set(USB_IDS_FILE usb.ids)
set(USB_IDS_URL http://www.linux-usb.org/${USB_IDS_FILE})
set(USB_IDS_PATH ${CMAKE_BINARY_DIR}/${USB_IDS_FILE})
set(USB_IDS_INSTALL_PATH ${CMAKE_INSTALL_DATAROOTDIR}/${USB_IDS_FILE})
if(ENABLE_USB_IDS_DOWNLOAD AND NOT EXISTS "${CMAKE_STAGING_PREFIX}/${USB_IDS_INSTALL_PATH}")