Changeset - r28455:325c07e62da0
[Not reviewed]
master
0 1 0
Michael Lutz - 12 months ago 2023-12-17 21:13:49
michi@icosahedron.de
Codechange: [CMake] Use timestamps to copy non-generated baseset files.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
media/baseset/CMakeLists.txt
Show inline comments
 
@@ -67,7 +67,7 @@ foreach(BASESET_OTHER_SOURCE_FILE IN LIS
 
    get_filename_component(BASESET_OTHER_SOURCE_FILE_NAME "${BASESET_OTHER_SOURCE_FILE}" NAME)
 
    set(BASESET_OTHER_BINARY_FILE "${CMAKE_BINARY_DIR}/baseset/${BASESET_OTHER_SOURCE_FILE_NAME}")
 

	
 
    add_custom_command(OUTPUT ${BASESET_OTHER_BINARY_FILE}
 
    add_custom_command_timestamp(OUTPUT ${BASESET_OTHER_BINARY_FILE}
 
            COMMAND ${CMAKE_COMMAND} -E copy
 
                    ${BASESET_OTHER_SOURCE_FILE}
 
                    ${BASESET_OTHER_BINARY_FILE}
0 comments (0 inline, 0 general)