File: using-system-libmeshb.patch

package info (click to toggle)
geogram 1.9.6-1
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 15,436 kB
  • sloc: cpp: 143,890; ansic: 10,098; perl: 1,430; sh: 1,199; yacc: 522; lex: 182; python: 157; javascript: 149; makefile: 17
file content (26 lines) | stat: -rw-r--r-- 866 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: geogram/src/lib/geogram/mesh/mesh_io.cpp
===================================================================
--- geogram.orig/src/lib/geogram/mesh/mesh_io.cpp
+++ geogram/src/lib/geogram/mesh/mesh_io.cpp
@@ -54,7 +54,7 @@
 #include <fstream>
 
 extern "C" {
-#include <geogram/third_party/libMeshb/sources/libmeshb7.h>
+#include <libmeshb7.h>
 }
 
 #include <geogram/third_party/rply/rply.h>
Index: geogram/src/lib/geogram/CMakeLists.txt
===================================================================
--- geogram.orig/src/lib/geogram/CMakeLists.txt
+++ geogram/src/lib/geogram/CMakeLists.txt
@@ -81,7 +81,7 @@ if(UNIX AND VORPALINE_BUILD_DYNAMIC)
 if (ANDROID)
 target_link_libraries(geogram dl)
 else()
-target_link_libraries(geogram pthread dl lua5.4 z triangle)
+target_link_libraries(geogram pthread dl lua5.4 z triangle Meshb.7)
 endif()
 endif()