Fix CMake (Again)
This commit is contained in:
parent
f8b56c50ba
commit
bf46eaf1c5
@ -42,15 +42,14 @@ ExternalProject_Add(qemu
|
|||||||
USES_TERMINAL_CONFIGURE TRUE
|
USES_TERMINAL_CONFIGURE TRUE
|
||||||
# Build Command
|
# Build Command
|
||||||
BUILD_COMMAND "ninja"
|
BUILD_COMMAND "ninja"
|
||||||
|
COMMAND "ninja" "install"
|
||||||
|
BUILD_BYPRODUCTS "<INSTALL_DIR>${QEMU_LIBRARY}"
|
||||||
USES_TERMINAL_BUILD TRUE
|
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_COMMAND "patch" "-p1" "<" "${CMAKE_CURRENT_SOURCE_DIR}/runtime.patch"
|
PATCH_COMMAND "patch" "-p1" "<" "${CMAKE_CURRENT_SOURCE_DIR}/runtime.patch"
|
||||||
|
# Disable Other Commands
|
||||||
|
INSTALL_COMMAND ""
|
||||||
|
TEST_COMMAND ""
|
||||||
)
|
)
|
||||||
|
|
||||||
# Get Full Library Path
|
# Get Full Library Path
|
||||||
|
Loading…
Reference in New Issue
Block a user