mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
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:
parent
2ba3229ac6
commit
72605e854f
Notes:
sideshowbarker
2024-07-17 06:10:04 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/72605e854f Pull-request: https://github.com/SerenityOS/serenity/pull/15516 Reviewed-by: https://github.com/timschumi
@ -249,7 +249,6 @@ export_components("${CMAKE_BINARY_DIR}/components.ini")
|
|||||||
|
|
||||||
set(PCI_IDS_FILE pci.ids)
|
set(PCI_IDS_FILE pci.ids)
|
||||||
set(PCI_IDS_URL https://pci-ids.ucw.cz/v2.2/${PCI_IDS_FILE})
|
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})
|
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} )
|
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_FILE usb.ids)
|
||||||
set(USB_IDS_URL http://www.linux-usb.org/${USB_IDS_FILE})
|
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})
|
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}")
|
if(ENABLE_USB_IDS_DOWNLOAD AND NOT EXISTS "${CMAKE_STAGING_PREFIX}/${USB_IDS_INSTALL_PATH}")
|
||||||
|
Loading…
Reference in New Issue
Block a user