We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade0f40 commit d6af055Copy full SHA for d6af055
cmake/libutils.cmake
@@ -207,10 +207,9 @@ MACRO(MERGE_STATIC_LIBS TARGET OUTPUT_NAME LIBS_TO_MERGE)
207
208
SET(SCRIPT_CONTENTS "CREATE $<TARGET_FILE:${TARGET}>\n")
209
FOREACH(LIB ${STATIC_LIBS})
210
- STRING(APPEND SCRIPT_CONTENTS "ADDLIB ${LIB}\n")
+ SET(SCRIPT_CONTENTS "${SCRIPT_CONTENTS}\nADDLIB ${LIB}\n")
211
ENDFOREACH()
212
- STRING(APPEND SCRIPT_CONTENTS "SAVE\nEND\n")
213
- FILE(WRITE ${MRI_SCRIPT_TPL} "${SCRIPT_CONTENTS}")
+ FILE(WRITE ${MRI_SCRIPT_TPL} "${SCRIPT_CONTENTS}\nSAVE\nEND\n")
214
FILE(GENERATE OUTPUT ${MRI_SCRIPT} INPUT ${MRI_SCRIPT_TPL})
215
216
ADD_CUSTOM_COMMAND(TARGET ${TARGET} POST_BUILD
0 commit comments