From ab255dfc2b69ac1547dc8440f6f9c98a2ef0c0ca Mon Sep 17 00:00:00 2001 From: Croydon Date: Wed, 28 Feb 2024 17:05:20 +0100 Subject: [PATCH] Use version ranges for SDL libs and CMake --- conanfile.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conanfile.py b/conanfile.py index 39bfbdb..4983272 100644 --- a/conanfile.py +++ b/conanfile.py @@ -15,13 +15,13 @@ class Sauerbraten(ConanFile): def requirements(self): self.requires("enet/1.3.17") - self.requires("sdl/2.28.5") - self.requires("sdl_image/2.6.3") - self.requires("sdl_mixer/2.0.4") + self.requires("sdl/[>=2.28 <3]") + self.requires("sdl_image/[>=2.6 <3]") + self.requires("sdl_mixer/[>=2.0 <3]") self.requires("zlib/1.3") def tool_requirements(self): - self.requires("cmake/3.28.1") + self.requires("cmake/[>=3.28 <3]") def layout(self): cmake_layout(self)