aboutsummaryrefslogtreecommitdiff
path: root/ports/sfml/usage
diff options
context:
space:
mode:
authorras0219 <533828+ras0219@users.noreply.github.com>2021-01-20 13:03:02 -0800
committerGitHub <noreply@github.com>2021-01-20 13:03:02 -0800
commit93db9aced19c819cf0040a2d628f73b246653439 (patch)
tree3e5991004d5678627f35f5f783e9f5b30a29d1cc /ports/sfml/usage
parent8e926cc06c3b52056926697b87fc350af7e66d69 (diff)
downloadvcpkg-93db9aced19c819cf0040a2d628f73b246653439.tar.gz
vcpkg-93db9aced19c819cf0040a2d628f73b246653439.zip
[sfml] Install usage and change version scheme to relaxed (#15718)
Diffstat (limited to 'ports/sfml/usage')
-rw-r--r--ports/sfml/usage8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/sfml/usage b/ports/sfml/usage
index 5b0f68d1a..784d1173a 100644
--- a/ports/sfml/usage
+++ b/ports/sfml/usage
@@ -1,7 +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)
+ target_link_libraries(main PRIVATE sfml-system sfml-network sfml-graphics sfml-window)
+
+ # If you want SFML to provide an implementation of main():
+ target_link_libraries(main PRIVATE sfml-main)