From 4e21fbc97a1a1dc0d27c16b104fd7af7ba9ecce6 Mon Sep 17 00:00:00 2001 From: Horst Schirmeier Date: Tue, 19 Mar 2013 22:32:12 +0100 Subject: [PATCH] cmake: bochs{,all}clean targets don't fail even if stamp file doesn't exist --- cmake/bochs.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/bochs.cmake b/cmake/bochs.cmake index e61faeb7..92dcdb81 100644 --- a/cmake/bochs.cmake +++ b/cmake/bochs.cmake @@ -121,14 +121,14 @@ if(BUILD_BOCHS) add_custom_target(bochsclean COMMAND +make -C ${bochs_src_dir} clean # touch stamp file to force rebuild, without calling configure again. - COMMAND ${CMAKE_COMMAND} -E touch_nocreate ${stamp_dir}/libfailbochs_external-configure + COMMAND ${CMAKE_COMMAND} -E touch_nocreate ${stamp_dir}/libfailbochs_external-configure || true COMMENT "[${PROJECT_NAME}] Cleaning all up (clean in bochs)" ) add_custom_target(bochsallclean COMMAND +make -C ${bochs_src_dir} all-clean # touch stamp file to force rebuild, without calling configure again. - COMMAND ${CMAKE_COMMAND} -E touch_nocreate ${stamp_dir}/libfailbochs_external-configure + COMMAND ${CMAKE_COMMAND} -E touch_nocreate ${stamp_dir}/libfailbochs_external-configure || true COMMENT "[${PROJECT_NAME}] Cleaning all up (all-clean in bochs)" )