mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:59:06 +08:00
163b97d462
Co-authored-by: Kai Pastor <dg0yt@darc.de>
8 lines
344 B
Plaintext
8 lines
344 B
Plaintext
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)
|