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:
parent
dfdc744c7f
commit
7742e8ee99
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue