From 072ce1e5bf15fc75920e97b0e9806ad93c65cde7 Mon Sep 17 00:00:00 2001 From: Nav Date: Mon, 20 Feb 2023 21:54:13 +0000 Subject: [PATCH] Corrected TDF mapping file path in CMake --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a995da80..c5655246 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,7 @@ add_executable(Bloom) target_sources( Bloom PRIVATE - build/resources/TargetDescriptionFiles/AVR/Mapping.json + ${CMAKE_BINARY_DIR}/resources/TargetDescriptionFiles/AVR/Mapping.json ) qt_add_resources( @@ -160,7 +160,7 @@ endif() # Copy AVR8 TDFs to build directory and construct JSON mapping of AVR8 target signatures to TDF paths. add_custom_command( OUTPUT - ${CMAKE_CURRENT_SOURCE_DIR}/build/resources/TargetDescriptionFiles/AVR/Mapping.json + ${CMAKE_BINARY_DIR}/resources/TargetDescriptionFiles/AVR/Mapping.json DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/build/scripts/Avr8TargetDescriptionFiles.php COMMAND echo 'Processing AVR target description files.'