Commit 72be2f87 authored by Rashad Kanavath's avatar Rashad Kanavath

BUG: wrap in macro and call it filename

parent 56095f59
macro(cleanup_package)
message(STATUS "Empty package staging directory: ${CMAKE_INSTALL_PREFIX}/${PKG_STAGE_DIR}") message(STATUS "Empty package staging directory: ${CMAKE_INSTALL_PREFIX}/${PKG_STAGE_DIR}")
execute_process(COMMAND execute_process(COMMAND
g ${CMAKE_COMMAND} -E remove_directory g ${CMAKE_COMMAND} -E remove_directory
...@@ -7,3 +8,4 @@ message(STATUS "Remove PACKAGE_OUTPUT_FILE: ${PACKAGE_OUTPUT_FILE}") ...@@ -7,3 +8,4 @@ message(STATUS "Remove PACKAGE_OUTPUT_FILE: ${PACKAGE_OUTPUT_FILE}")
execute_process(COMMAND execute_process(COMMAND
${CMAKE_COMMAND} -E remove -f "${PACKAGE_OUTPUT_FILE}" ${CMAKE_COMMAND} -E remove -f "${PACKAGE_OUTPUT_FILE}"
) )
endmacro()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment