pineapple-src/externals/vcpkg/ports/sfml/usage

8 lines
327 B
Text
Raw Normal View History

2022-07-23 01:01:36 +00:00
The package sfml provides CMake targets:
find_package(SFML COMPONENTS system window graphics CONFIG REQUIRED)
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)