Explorar o código

Update for compatibility with LunaSVG v2.3.0, see #232

Michael Ragazzon %!s(int64=4) %!d(string=hai) anos
pai
achega
f2e270f49b
Modificáronse 3 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      .appveyor.yml
  2. 1 1
      CMake/Modules/Findlunasvg.cmake
  3. 1 1
      Source/SVG/ElementSVG.cpp

+ 1 - 1
.appveyor.yml

@@ -36,7 +36,7 @@ install:
     cmake --build . --target rlottie --config Release -- "/clp:ErrorsOnly"
     cd ../../
     
-    git clone --depth 1 --branch v2.0.1 https://github.com/sammycage/lunasvg.git
+    git clone --depth 1 --branch v2.3.0 https://github.com/sammycage/lunasvg.git
     cd lunasvg
     mkdir build
     cd build

+ 1 - 1
CMake/Modules/Findlunasvg.cmake

@@ -1,6 +1,6 @@
 # Try to find LunaSVG
 
-find_path(LUNASVG_INCLUDE_DIR document.h
+find_path(LUNASVG_INCLUDE_DIR lunasvg.h
           HINTS $ENV{LUNASVG_DIR}
           PATH_SUFFIXES lunasvg lunasvg/include include )
 

+ 1 - 1
Source/SVG/ElementSVG.cpp

@@ -35,7 +35,7 @@
 #include "../../Include/RmlUi/Core/FileInterface.h"
 #include "../../Include/RmlUi/Core/Math.h"
 #include <cmath>
-#include <document.h>
+#include <lunasvg.h>
 
 namespace Rml {