diff options
Diffstat (limited to 'cmake/bin2h.script.cmake')
-rw-r--r-- | cmake/bin2h.script.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/bin2h.script.cmake b/cmake/bin2h.script.cmake index 1438fde2..7e74a7a1 100644 --- a/cmake/bin2h.script.cmake +++ b/cmake/bin2h.script.cmake @@ -8,6 +8,5 @@ file(READ "${INPUT_FILE}" indata HEX) # per line. string(REGEX REPLACE "(..)" " 0x\\1,\n" output "${indata}") -# Write the list of hex chars to the output file in a const byte array -file(WRITE "${OUTPUT_FILE}" - "const unsigned char ${VARIABLE_NAME}[] = {\n${output}};\n") +# Write the list of hex chars to the output file +file(WRITE "${OUTPUT_FILE}" "${output}") |