From ad1f55ce3682dd8890cd968864ee7da05d609a91 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 23 Sep 2024 15:54:20 +0200 Subject: [PATCH] Prospective fix for downloadling slint-compiler for Slint releases The GitHub release name has the git tag name, so a v prefix. --- api/cpp/cmake/SlintConfig.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/cpp/cmake/SlintConfig.cmake.in b/api/cpp/cmake/SlintConfig.cmake.in index 7fd982a6135..ffa9bb85fdf 100644 --- a/api/cpp/cmake/SlintConfig.cmake.in +++ b/api/cpp/cmake/SlintConfig.cmake.in @@ -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")