Skip to content

Commit

Permalink
Use version ranges for SDL libs and CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
Croydon committed Feb 28, 2024
1 parent 285b9e3 commit ab255df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ab255df

Please sign in to comment.