Fix CMake (Again)

This commit is contained in:
TheBrokenRail 2024-11-10 19:05:25 -05:00
parent f8b56c50ba
commit bf46eaf1c5

View File

@ -42,15 +42,14 @@ ExternalProject_Add(qemu
USES_TERMINAL_CONFIGURE TRUE
# Build Command
BUILD_COMMAND "ninja"
COMMAND "ninja" "install"
BUILD_BYPRODUCTS "<INSTALL_DIR>${QEMU_LIBRARY}"
USES_TERMINAL_BUILD TRUE
# Install
INSTALL_DIR "${QEMU_INSTALL_DIR}"
INSTALL_COMMAND "ninja" "install"
INSTALL_BYPRODUCTS "<INSTALL_DIR>${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