# (c) https://github.com/dev-cafe/autocmake/blob/master/AUTHORS.md # licensed under BSD-3: https://github.com/dev-cafe/autocmake/blob/master/LICENSE # Clean-up add_custom_command( OUTPUT ${CUSTOM_BOOST_LOCATION}/boost.cleanedup COMMAND ${CMAKE_COMMAND} -E remove_directory ${BOOST_BUILD_DIR} COMMAND ${CMAKE_COMMAND} -E touch ${CUSTOM_BOOST_LOCATION}/boost.cleanedup WORKING_DIRECTORY ${CUSTOM_BOOST_LOCATION} DEPENDS ${CUSTOM_BOOST_LOCATION}/boost.installed COMMENT "Clean-up Boost")