aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/sfml/usage
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/sfml/usage')
-rw-r--r--vcpkg/ports/sfml/usage7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcpkg/ports/sfml/usage b/vcpkg/ports/sfml/usage
new file mode 100644
index 0000000..79c19c3
--- /dev/null
+++ b/vcpkg/ports/sfml/usage
@@ -0,0 +1,7 @@
+The package sfml provides CMake targets:
+
+ find_package(SFML COMPONENTS Network Graphics Window Audio System CONFIG REQUIRED)
+ target_link_libraries(main PRIVATE SFML::Network SFML::Graphics SFML::Window SFML::Audio SFML::System)
+
+ # If you want SFML to provide an implementation of main():
+ target_link_libraries(main PRIVATE SFML::Main)