From 1048e522fdb9162f680e39f2ebd15aa7eb86041e Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 4 Jan 2025 23:41:40 -0600 Subject: [PATCH] [imgui] Make ImGui not an object lib --- deps/imgui/CMakeLists.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/deps/imgui/CMakeLists.txt b/deps/imgui/CMakeLists.txt index 3fbdb9e7..9fab8c0b 100644 --- a/deps/imgui/CMakeLists.txt +++ b/deps/imgui/CMakeLists.txt @@ -6,7 +6,7 @@ endif() # DrinkingTea: end add_library( - imgui OBJECT + imgui imgui.cpp imgui_demo.cpp imgui_draw.cpp @@ -19,4 +19,12 @@ add_library( target_include_directories( imgui SYSTEM PUBLIC . -) \ No newline at end of file +) + +install( + TARGETS + imgui + DESTINATION + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib +)