vcpkg/ports/sfml/usage

8 lines
344 B
Plaintext
Raw Normal View History

2019-10-09 16:18:16 +08:00
The package sfml provides CMake targets:
find_package(SFML COMPONENTS system window graphics audio CONFIG REQUIRED)
target_link_libraries(main PRIVATE sfml-system sfml-network sfml-graphics sfml-window sfml-audio)
# If you want SFML to provide an implementation of main():
target_link_libraries(main PRIVATE sfml-main)