浏览代码

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

Michael Ragazzon 4 年之前
父节点
当前提交
f2e270f49b
共有 3 个文件被更改,包括 3 次插入3 次删除
  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 {