X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fcmake%2FCMakeMacros.cmake;h=716ac07c75d6a153d6913bfc9d7a24039d4189b8;hp=54e918bdc08d622f310fa2485bbd6ed47e653955;hb=b51defb8ad21f9d04641aa3268adb984b98a69d6;hpb=16623e02faabc747aee3bc678429913266d4abe8 diff --git a/reactos/cmake/CMakeMacros.cmake b/reactos/cmake/CMakeMacros.cmake index 54e918bdc08..716ac07c75d 100644 --- a/reactos/cmake/CMakeMacros.cmake +++ b/reactos/cmake/CMakeMacros.cmake @@ -318,6 +318,12 @@ function(add_cd_file) if(_CD_TARGET) #manage dependency add_dependencies(reactos_cab ${_CD_TARGET}) + # add this so that the combination make target/fast reactos_cab/fast bootcd/fast properly detects that reactos.cab must be rebuilt + if (CMAKE_BUILD_TOOL STREQUAL "make") + add_custom_command(TARGET ${_CD_TARGET} + POST_BUILD + COMMAND ${CMAKE_COMMAND} -E touch ${REACTOS_BINARY_DIR}/boot/bootdata/packages/reactos.dff) + endif() endif() endif() endif() #end bootcd