Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sammycage committed Jan 31, 2025
1 parent 5fccfc8 commit 323212d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "plutovg"]
path = plutovg
url = https://github.com/sammycage/plutovg.git
path = plutovg
url = https://github.com/sammycage/plutovg.git
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ set(LUNASVG_VERSION_MICRO 0)

project(lunasvg LANGUAGES CXX VERSION ${LUNASVG_VERSION_MAJOR}.${LUNASVG_VERSION_MINOR}.${LUNASVG_VERSION_MICRO})

find_package(plutovg 0.0.4 QUIET)
if(NOT plutovg_FOUND)
add_subdirectory(plutovg)
endif()

set(lunasvg_sources
source/lunasvg.cpp
source/graphics.cpp
Expand All @@ -37,6 +32,11 @@ set(lunasvg_headers
source/svgtextelement.h
)

find_package(plutovg 0.0.4 QUIET)
if(NOT plutovg_FOUND)
add_subdirectory(plutovg)
endif()

add_library(lunasvg ${lunasvg_sources} ${lunasvg_headers})
add_library(lunasvg::lunasvg ALIAS lunasvg)

Expand Down

0 comments on commit 323212d

Please sign in to comment.