mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-12 08:28:26 -05:00
8 lines
327 B
Plaintext
8 lines
327 B
Plaintext
|
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)
|