We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce42569 commit 45d318fCopy full SHA for 45d318f
cmake/scripts/ConcatenateToCXX.cmake
@@ -51,6 +51,9 @@ foreach(infile ${INPUT_FILES})
51
break()
52
endif()
53
54
+ # Replace newlines
55
+ string(REPLACE "0d0a" "\n" data "${data}")
56
+
57
# Count the bytes we're adding
58
string(LENGTH "${data}" strlen)
59
math(EXPR byte_count "${byte_count} + (${strlen} / 2)")
0 commit comments