copy rather than copy_if_needed because the latter was not always copying and thereby updating the modify time of the destintation file

This commit is contained in:
dickelbeck 2008-05-24 03:51:28 +00:00
parent dfdc744c7f
commit 7742e8ee99
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ foreach( loop_var ${BITMAP_SRCS} )
set( cpp_bitmap ${path}/${XMP_CPP_DIR}/${basename}.cpp )
add_custom_command(
OUTPUT ${cpp_bitmap}
COMMAND cmake -E copy_if_different '${path}/${basename}.xpm' '${cpp_bitmap}'
COMMAND cmake -E copy '${path}/${basename}.xpm' '${cpp_bitmap}'
DEPENDS ${basename}.xpm )
list( APPEND cpp_bitmaps ${cpp_bitmap} )
SET_SOURCE_FILES_PROPERTIES( ${cpp_bitmap} PROPERTIES COMPILE_FLAGS -DXPMMAIN )