aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/Modules/GenerateBootableIso.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/GenerateBootableIso.cmake b/cmake/Modules/GenerateBootableIso.cmake
index 368dcf6..4698d6f 100644
--- a/cmake/Modules/GenerateBootableIso.cmake
+++ b/cmake/Modules/GenerateBootableIso.cmake
@@ -16,7 +16,7 @@ function(target_generate_bootable_iso TARGET)
"$<TARGET_FILE_DIR:${TARGET}>/isofs"
"$<TARGET_FILE:${TARGET}>"
"2>/dev/null"
- BYPRODUCTS "${PROJECT_BINARY_DIR}/$<CONFIGURATION>/${TARGET}.iso"
+ BYPRODUCTS "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$<CONFIGURATION>/${TARGET}.iso"
COMMENT "Creating bootable ISO image"
)
endfunction()