Commit 7742e8ee authored by dickelbeck's avatar dickelbeck

copy rather than copy_if_needed because the latter was not always copying and...

copy rather than copy_if_needed because the latter was not always copying and thereby updating the modify time of the destintation file
parent dfdc744c
......@@ -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 )
......
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