Fix appdata changelog target name
This commit is contained in:
parent
e8568c6701
commit
f8da59595a
|
@ -8,7 +8,9 @@ function(generate_appdata_changelog target_name changelog_path appdata_path)
|
|||
find_package(Python3 REQUIRED)
|
||||
|
||||
set(gen_dst ${CMAKE_CURRENT_BINARY_DIR}/gen)
|
||||
set(gen_timestamp ${gen_dst}/${target_name}_changelog.timestamp)
|
||||
file(MAKE_DIRECTORY ${gen_dst})
|
||||
|
||||
set(gen_timestamp ${gen_dst}/${target_name}_appdata_changelog.timestamp)
|
||||
set(gen_files ${appdata_path})
|
||||
|
||||
add_custom_command(
|
||||
|
@ -30,5 +32,5 @@ function(generate_appdata_changelog target_name changelog_path appdata_path)
|
|||
${changelog_path}
|
||||
${appdata_path}
|
||||
)
|
||||
generate_target(${target_name} changelog ${gen_timestamp} "${gen_files}" ${gen_dst})
|
||||
generate_target(${target_name} appdata_changelog ${gen_timestamp} "${gen_files}" ${gen_dst})
|
||||
endfunction()
|
||||
|
|
Loading…
Reference in New Issue