Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sfml]Add usage. #8523

Merged
merged 1 commit into from
Oct 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ports/sfml/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: sfml
Version: 2.5.1-3
Version: 2.5.1-4
Homepage: https://github.com/sfml/sfml
Description: Simple and fast multimedia library
Build-Depends: freetype, libflac, libogg, libvorbis, openal-soft, stb
7 changes: 7 additions & 0 deletions ports/sfml/usage
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The package sfml provides CMake targets:

find_package(SFML COMPONENTS system window graphics CONFIG REQUIRED)
# Windows
target_link_libraries(main PRIVATE FLAC OpenAL OpenGL Vorbis)
# Linux/MacOS
target_link_libraries(main PRIVATE X11 FLAC UDev OpenAL)