aboutsummaryrefslogtreecommitdiff
path: root/ports/imgui-sfml/usage
diff options
context:
space:
mode:
Diffstat (limited to 'ports/imgui-sfml/usage')
-rw-r--r--ports/imgui-sfml/usage10
1 files changed, 10 insertions, 0 deletions
diff --git a/ports/imgui-sfml/usage b/ports/imgui-sfml/usage
new file mode 100644
index 000000000..ea9a5f63b
--- /dev/null
+++ b/ports/imgui-sfml/usage
@@ -0,0 +1,10 @@
+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
+ )