Meta: Download pnp_ids.html to the cache directory

This commit is contained in:
Tim Schumacher 2023-09-14 07:42:36 +02:00 committed by Sam Atkins
parent cc6054ae3b
commit b0c1dc14f3

View file

@ -1,7 +1,7 @@
include(${CMAKE_CURRENT_LIST_DIR}/utils.cmake)
set(PNP_IDS_URL http://www.uefi.org/uefi-pnp-export)
set(PNP_IDS_EXPORT_PATH ${CMAKE_BINARY_DIR}/pnp_ids.html)
set(PNP_IDS_EXPORT_PATH ${SERENITY_CACHE_DIR}/pnp_ids.html)
if (ENABLE_PNP_IDS_DOWNLOAD)
download_file("${PNP_IDS_URL}" "${PNP_IDS_EXPORT_PATH}")