summaryrefslogtreecommitdiff
path: root/Meta/CMake
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-08-03 10:50:49 +0200
committerTim Flynn <trflynn89@pm.me>2022-08-16 06:07:19 -0400
commit0598f52fc000f7bf78c7e4164be1342601bdff71 (patch)
tree2dd97ef318ae1b3742cd776d0d767c6398692564 /Meta/CMake
parent35dbeb064ae6a3efb33cd135739601bd97fab732 (diff)
downloadserenity-0598f52fc000f7bf78c7e4164be1342601bdff71.zip
Meta: Remove an outdated `MAKE_DIRECTORY` call for pnp IDs
We are downloading these directly into the build directory now, and generating the source code from there, so we no longer need the manually created directory. While we are at it, remove two variables that seem to be no longer in use, and at least one of which is confusing regarding a missing prefix.
Diffstat (limited to 'Meta/CMake')
-rw-r--r--Meta/CMake/pnp_ids.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/Meta/CMake/pnp_ids.cmake b/Meta/CMake/pnp_ids.cmake
index 88fa756aee..7192d20c46 100644
--- a/Meta/CMake/pnp_ids.cmake
+++ b/Meta/CMake/pnp_ids.cmake
@@ -1,12 +1,9 @@
include(${CMAKE_CURRENT_LIST_DIR}/utils.cmake)
-set(PNP_IDS_FILE pnp.ids)
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_INSTALL_PATH ${CMAKE_INSTALL_DATAROOTDIR}/${PNP_IDS_FILE})
if (ENABLE_PNP_IDS_DOWNLOAD)
- file(MAKE_DIRECTORY ${CMAKE_INSTALL_DATAROOTDIR})
download_file("${PNP_IDS_URL}" "${PNP_IDS_EXPORT_PATH}")
set(PNP_IDS_HEADER PnpIDs.h)