Skip to content

Commit

Permalink
Update recipes/sdl/all/conanfile.py
Browse files Browse the repository at this point in the history
Co-authored-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
jgsogo and uilianries authored Jun 15, 2021
1 parent 8ec03da commit a757c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/sdl/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def package_info(self):
self.cpp_info.components["libsdl2"].exelinkflags.append("-Wl,-rpath,/opt/vc/lib")
elif self.settings.os == "Macos":
self.cpp_info.components["libsdl2"].frameworks = ["Cocoa", "Carbon", "IOKit", "CoreVideo", "CoreAudio", "AudioToolbox", "ForceFeedback"]
if self.version >= "2.0.14":
if tools.Version(self.version) >= "2.0.14":
self.cpp_info.components["libsdl2"].frameworks.append("Metal")
elif self.settings.os == "Windows":
self.cpp_info.components["libsdl2"].system_libs = ["user32", "gdi32", "winmm", "imm32", "ole32", "oleaut32", "version", "uuid", "advapi32", "setupapi", "shell32"]
Expand Down

0 comments on commit a757c69

Please sign in to comment.