Package: freecad / 0.14.3702+dfsg-3

exclude_ply.patch Patch series | download
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
27
28
29
30
Description: exclude ply from build-sources, use packaged version
Author: Anton Gladky <gladk@debian.org>, Sebastian Hoogen <sebastian@hoogen.de>
Last-Update: 2013-09-25

Index: freecad/src/Mod/OpenSCAD/CMakeLists.txt
===================================================================
--- freecad.orig/src/Mod/OpenSCAD/CMakeLists.txt
+++ freecad/src/Mod/OpenSCAD/CMakeLists.txt
@@ -23,7 +23,7 @@ SET(ply_SRCS
 )
 SOURCE_GROUP("ply" FILES ${ply_SRCS})
 
-set(all_files ${OpenSCAD_SRCS} ${ply_SRCS})
+set(all_files ${OpenSCAD_SRCS} )
 
 ADD_CUSTOM_TARGET(OpenSCAD ALL
     SOURCES ${allfiles}
@@ -33,12 +33,6 @@ fc_copy_sources(OpenSCAD "${CMAKE_BINARY
 
 INSTALL(
     FILES
-        ${ply_SRCS}
-    DESTINATION
-        Mod/OpenSCAD/ply
-)
-INSTALL(
-    FILES
         ${OpenSCAD_SRCS}
     DESTINATION
         Mod/OpenSCAD