Corrected TDF mapping file path in CMake

This commit is contained in:
Nav
2023-02-20 21:54:13 +00:00
parent 05832839f0
commit 072ce1e5bf

View File

@@ -56,7 +56,7 @@ add_executable(Bloom)
target_sources( target_sources(
Bloom Bloom
PRIVATE PRIVATE
build/resources/TargetDescriptionFiles/AVR/Mapping.json ${CMAKE_BINARY_DIR}/resources/TargetDescriptionFiles/AVR/Mapping.json
) )
qt_add_resources( 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. # Copy AVR8 TDFs to build directory and construct JSON mapping of AVR8 target signatures to TDF paths.
add_custom_command( add_custom_command(
OUTPUT OUTPUT
${CMAKE_CURRENT_SOURCE_DIR}/build/resources/TargetDescriptionFiles/AVR/Mapping.json ${CMAKE_BINARY_DIR}/resources/TargetDescriptionFiles/AVR/Mapping.json
DEPENDS DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/build/scripts/Avr8TargetDescriptionFiles.php ${CMAKE_CURRENT_SOURCE_DIR}/build/scripts/Avr8TargetDescriptionFiles.php
COMMAND echo 'Processing AVR target description files.' COMMAND echo 'Processing AVR target description files.'