From bf46eaf1c596fa34c760f26ea5eab679c3e66336 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Sun, 10 Nov 2024 19:05:25 -0500 Subject: [PATCH] Fix CMake (Again) --- qemu/CMakeLists.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/qemu/CMakeLists.txt b/qemu/CMakeLists.txt index 4f7e95b..cc2c0a7 100644 --- a/qemu/CMakeLists.txt +++ b/qemu/CMakeLists.txt @@ -42,15 +42,14 @@ ExternalProject_Add(qemu USES_TERMINAL_CONFIGURE TRUE # Build Command BUILD_COMMAND "ninja" + COMMAND "ninja" "install" + BUILD_BYPRODUCTS "${QEMU_LIBRARY}" USES_TERMINAL_BUILD TRUE - # Install - INSTALL_DIR "${QEMU_INSTALL_DIR}" - INSTALL_COMMAND "ninja" "install" - INSTALL_BYPRODUCTS "${QEMU_LIBRARY}" - # Disable Test Command - TEST_COMMAND "" # Patch Command PATCH_COMMAND "patch" "-p1" "<" "${CMAKE_CURRENT_SOURCE_DIR}/runtime.patch" + # Disable Other Commands + INSTALL_COMMAND "" + TEST_COMMAND "" ) # Get Full Library Path