mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 05:09:19 +08:00
11 lines
349 B
Plaintext
11 lines
349 B
Plaintext
The package imgui-sfml provides CMake targets:
|
|
|
|
find_package(imgui CONFIG REQUIRED)
|
|
find_package(SFML CONFIG REQUIRED COMPONENTS graphics system window)
|
|
find_package(ImGui-SFML CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE
|
|
imgui::imgui
|
|
sfml-graphics sfml-system sfml-window
|
|
ImGui-SFML::ImGui-SFML
|
|
)
|