Skip to content

Commit

Permalink
Remove corrosion message in default case and add version to find_package
Browse files Browse the repository at this point in the history
  • Loading branch information
scristall-bennu committed Mar 5, 2025
1 parent 4148afd commit b39495a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ project(Slint HOMEPAGE_URL "https://slint.dev/" LANGUAGES C CXX VERSION 1.10.0)
include(FeatureSummary)
include(CMakeDependentOption)

find_package(Corrosion QUIET)
find_package(Corrosion QUIET 0.5.1)
if (NOT Corrosion_FOUND)
message("Corrosion could not be located in the CMake module search path. Downloading it from Git and building it locally")
include(FetchContent)
FetchContent_Declare(
Corrosion
Expand Down

0 comments on commit b39495a

Please sign in to comment.