mirror of
https://github.com/Vita3K/unicorn.git
synced 2024-11-26 23:00:37 +00:00
cmake: fix build if workdir is outside of CMAKE_BINARY_DIR (#1284)
this e.g. happens if you would try to compile this like this: cmake -B build cmake --build build --config Release
This commit is contained in:
parent
9288b4a845
commit
590bab8f1a
@ -186,6 +186,7 @@ else()
|
||||
execute_process(COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/qemu/configure
|
||||
${EXTRA_CFLAGS}
|
||||
${TARGET_LIST}
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||
)
|
||||
execute_process(COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/qemu/scripts/create_config
|
||||
INPUT_FILE ${CMAKE_BINARY_DIR}/config-host.mak
|
||||
|
Loading…
Reference in New Issue
Block a user