aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-11-11 13:19:45 -0800
committerChris Robinson <[email protected]>2016-11-11 13:19:45 -0800
commitb743bc1c1b45683314f18f3f3c8f171c2cb1a4d9 (patch)
treeaad7f5e4fbb7d2c40e7ff12a25106500eeec9f0c
parente69af7ab9256507145fdababd092396e85deb651 (diff)
Remove the temporary stub files after the output object is made
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7cd3ca36..3dd51d48 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1119,6 +1119,7 @@ if(ALSOFT_EMBED_HRTF_DATA)
COMMAND touch "${stubsrcfile}"
COMMAND "${CMAKE_C_COMPILER}" -o "${stubfile}" -c "${stubsrcfile}"
COMMAND "${CMAKE_LINKER}" -r -o "${outfile}" -sectcreate binary ${BIN_NAME} ${FILENAME} "${stubfile}"
+ COMMAND rm "${stubsrcfile}" "${stubfile}"
COMMENT "Generating ${FILENAME}${CMAKE_C_OUTPUT_EXTENSION}"
VERBATIM
)