mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 14:29:07 +08:00
8 lines
281 B
Plaintext
8 lines
281 B
Plaintext
|
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)
|