aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-07-23 09:15:00 +0000
committerFelix Morgner <felix.morgner@ost.ch>2025-07-23 09:15:00 +0000
commitf82e0c289d6ab3e901dd80a3cf72aeeb0f85a8c5 (patch)
tree5190f3629438ed78fc56781f57ca4418ef99603e /cmake/Modules
parent94de595afa415626b8f58196f9da2ed899b5d99b (diff)
downloadteachos-f82e0c289d6ab3e901dd80a3cf72aeeb0f85a8c5.tar.xz
teachos-f82e0c289d6ab3e901dd80a3cf72aeeb0f85a8c5.zip
build: fix iso generation dependencies
Diffstat (limited to 'cmake/Modules')
-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()