Prospective fix for downloadling slint-compiler for Slint releases

The GitHub release name has the git tag name, so a v prefix.
This commit is contained in:
Simon Hausmann 2024-09-23 15:54:20 +02:00 committed by Simon Hausmann
parent 3139171d77
commit b0db6d78fd

View file

@ -15,7 +15,7 @@ add_library(@slint_cpp_impl@ @cmake_lib_type@ IMPORTED)
set_target_properties(@slint_cpp_impl@ PROPERTIES @SLINT_LIB_PROPERTIES@)
function(_slint_download_compiler_and_cache)
set(SLINT_GITHUB_RELEASE @PROJECT_VERSION@ CACHE STRING "GitHub Release to use for Slint Binary Artifact Downloads")
set(SLINT_GITHUB_RELEASE "v@PROJECT_VERSION@" CACHE STRING "GitHub Release to use for Slint Binary Artifact Downloads")
if (CMAKE_HOST_WIN32)
set(compiler_exe_suffix ".exe")