diff options
-rw-r--r-- | Embed.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Embed.cmake b/Embed.cmake index c75f19e4..2322e32c 100644 --- a/Embed.cmake +++ b/Embed.cmake | |||
@@ -123,13 +123,13 @@ static const iEmbedChunk chunks_Embed_[] = { | |||
123 | file (APPEND ${EMB_C} "};\n\n") | 123 | file (APPEND ${EMB_C} "};\n\n") |
124 | foreach (fn ${ARGV}) | 124 | foreach (fn ${ARGV}) |
125 | embed_getname (resName ${fn}) | 125 | embed_getname (resName ${fn}) |
126 | file (APPEND ${EMB_H} "extern const iBlock ${resName};\n") | 126 | file (APPEND ${EMB_H} "extern iBlock ${resName};\n") |
127 | file (APPEND ${EMB_C} "const iBlock ${resName};\n") | 127 | file (APPEND ${EMB_C} "iBlock ${resName};\n") |
128 | endforeach (fn) | 128 | endforeach (fn) |
129 | file (APPEND ${EMB_C} "\nstatic iBlock *blocks_Embed_[] = {\n") | 129 | file (APPEND ${EMB_C} "\nstatic iBlock *blocks_Embed_[] = {\n") |
130 | foreach (fn ${ARGV}) | 130 | foreach (fn ${ARGV}) |
131 | embed_getname (resName ${fn}) | 131 | embed_getname (resName ${fn}) |
132 | file (APPEND ${EMB_C} " iConstCast(iBlock *, &${resName}),\n") | 132 | file (APPEND ${EMB_C} " &${resName},\n") |
133 | endforeach (fn) | 133 | endforeach (fn) |
134 | file (APPEND ${EMB_C} [[ | 134 | file (APPEND ${EMB_C} [[ |
135 | }; | 135 | }; |