From 323212d5836b76ecded39456bd7040b556bb17f9 Mon Sep 17 00:00:00 2001 From: Samuel Ugochukwu Date: Fri, 31 Jan 2025 09:40:16 +0100 Subject: [PATCH] Update --- .gitmodules | 4 ++-- CMakeLists.txt | 10 +++++----- plutovg | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitmodules b/.gitmodules index d2939f5..ca0f427 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "plutovg"] - path = plutovg - url = https://github.com/sammycage/plutovg.git + path = plutovg + url = https://github.com/sammycage/plutovg.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 19d9c28..ca32d22 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 @@ -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) diff --git a/plutovg b/plutovg index e026d0a..5636fe5 160000 --- a/plutovg +++ b/plutovg @@ -1 +1 @@ -Subproject commit e026d0ac7ba29818cd0a73548b9903eef7da50c1 +Subproject commit 5636fe5954461856dbd27a5c916e93299f33606d