diff options
| author | JackBoosY <yuzaiyang@beyondsoft.com> | 2019-10-09 01:18:16 -0700 |
|---|---|---|
| committer | JackBoosY <yuzaiyang@beyondsoft.com> | 2019-10-09 01:18:37 -0700 |
| commit | 2188e9914d5b3efb838e6737c4de0150344942ed (patch) | |
| tree | 9b0e165a46e1f584436cd8df18a1973e5b233543 /ports/sfml/usage | |
| parent | 0de501a3f460f0f27c266b6e77ca22a6e3e597c8 (diff) | |
| download | vcpkg-2188e9914d5b3efb838e6737c4de0150344942ed.tar.gz vcpkg-2188e9914d5b3efb838e6737c4de0150344942ed.zip | |
[sfml]Add usage.
Diffstat (limited to 'ports/sfml/usage')
| -rw-r--r-- | ports/sfml/usage | 7 |
1 files changed, 7 insertions, 0 deletions
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)
|
