Skip to content

Commit

Permalink
[imgui] Use lunasvg config
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Jan 31, 2025
1 parent 9325851 commit 484141a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ports/imgui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ if(IMGUI_FREETYPE)
endif()

if(IMGUI_FREETYPE_LUNASVG)
find_package(unofficial-lunasvg CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PUBLIC unofficial::lunasvg::lunasvg)
find_package(lunasvg CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PUBLIC lunasvg::lunasvg)
target_compile_definitions(${PROJECT_NAME} PUBLIC IMGUI_ENABLE_FREETYPE_LUNASVG)
endif()

Expand Down
2 changes: 1 addition & 1 deletion ports/imgui/imgui-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (@IMGUI_FREETYPE@)
endif()

if (@IMGUI_FREETYPE_LUNASVG@)
find_dependency(unofficial-lunasvg CONFIG)
find_dependency(lunasvg CONFIG)
endif()

if (@IMGUI_BUILD_ALLEGRO5_BINDING@)
Expand Down
1 change: 1 addition & 0 deletions ports/imgui/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "imgui",
"version": "1.91.7",
"port-version": 1,
"description": "Bloat-free Immediate Mode Graphical User interface for C++ with minimal dependencies.",
"homepage": "https://github.com/ocornut/imgui",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3682,7 +3682,7 @@
},
"imgui": {
"baseline": "1.91.7",
"port-version": 0
"port-version": 1
},
"imgui-node-editor": {
"baseline": "0.9.3",
Expand Down
5 changes: 5 additions & 0 deletions versions/i-/imgui.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a2ba4fd644c05877db6b556a9b6589b2782f8570",
"version": "1.91.7",
"port-version": 1
},
{
"git-tree": "9d76ee1246a4a6211168fdefd19a6e70e74605fc",
"version": "1.91.7",
Expand Down

0 comments on commit 484141a

Please sign in to comment.