Skip to content

Commit

Permalink
sdl_net: update license file name
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Mar 19, 2024
1 parent 93356ca commit bba2850
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/sdl_net/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def build(self):
cmake.build()

def package(self):
copy(self, "COPYING.txt", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses"))
license_file = "COPYING.txt" if Version(self.version) < "2.2.0" else "LICENSE.txt"
copy(self, license_file, self.source_folder, os.path.join(self.package_folder, "licenses"))
cmake = CMake(self)
cmake.install()

Expand Down

0 comments on commit bba2850

Please sign in to comment.