diff options
| author | Victor Romero <romerosanchezv@gmail.com> | 2019-10-09 13:49:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-09 13:49:56 -0700 |
| commit | 0a5772ae14260895c1761e61bb3325e8154017f9 (patch) | |
| tree | 244ff656b8df3d85f27156a6dd5044a53f5fb824 | |
| parent | 680215d096b84bd95ad5907f0b780777f139beab (diff) | |
| parent | 2188e9914d5b3efb838e6737c4de0150344942ed (diff) | |
| download | vcpkg-0a5772ae14260895c1761e61bb3325e8154017f9.tar.gz vcpkg-0a5772ae14260895c1761e61bb3325e8154017f9.zip | |
Merge pull request #8523 from JackBoosY/dev/jack/8503
[sfml]Add usage.
| -rw-r--r-- | ports/sfml/CONTROL | 2 | ||||
| -rw-r--r-- | ports/sfml/usage | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ports/sfml/CONTROL b/ports/sfml/CONTROL index 4aa91716f..ab574561c 100644 --- a/ports/sfml/CONTROL +++ b/ports/sfml/CONTROL @@ -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 diff --git a/ports/sfml/usage b/ports/sfml/usage new file mode 100644 index 000000000..5b0f68d1a --- /dev/null +++ b/ports/sfml/usage @@ -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)
|
