Skip to content

Commit

Permalink
Prospective fix for downloadling slint-compiler for Slint releases
Browse files Browse the repository at this point in the history
The GitHub release name has the git tag name, so a v prefix.
  • Loading branch information
tronical committed Sep 23, 2024
1 parent c2d1c72 commit ad1f55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/cpp/cmake/SlintConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit ad1f55c

Please sign in to comment.