Browse Source

Meta: Download `pnp_ids.html` to the cache directory

Tim Schumacher 1 year ago
parent
commit
b0c1dc14f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Meta/CMake/pnp_ids.cmake

+ 1 - 1
Meta/CMake/pnp_ids.cmake

@@ -1,7 +1,7 @@
 include(${CMAKE_CURRENT_LIST_DIR}/utils.cmake)
 include(${CMAKE_CURRENT_LIST_DIR}/utils.cmake)
 
 
 set(PNP_IDS_URL http://www.uefi.org/uefi-pnp-export)
 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)
 if (ENABLE_PNP_IDS_DOWNLOAD)
     download_file("${PNP_IDS_URL}" "${PNP_IDS_EXPORT_PATH}")
     download_file("${PNP_IDS_URL}" "${PNP_IDS_EXPORT_PATH}")