commit af1d3feca751677033f2b2124e14557347941af9
parent 5a529612326d9af2ac6b47ee4f7db2ea94997c03
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 3 May 2024 19:06:18 +0200
Add Gmsh to the private libraries listed in pkg-config
This was simply an oversight.
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -77,6 +77,7 @@ libscad.o: $(OBJ)
pkg:
sed -e 's#@PREFIX@#$(PREFIX)#g'\
-e 's#@VERSION@#$(VERSION)#g'\
+ -e 's#@GMSH_VERSION@#$(GMSH_VERSION)#g'\
-e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\
-e 's#@SENC3D_VERSION@#$(SENC3D_VERSION)#g'\
-e 's#@SG3D_VERSION@#$(SG3D_VERSION)#g'\
@@ -87,6 +88,7 @@ scad-local.pc: scad.pc.in
-e 's#^includedir=.*#includedir=./src/#'\
-e 's#^libdir=.*#libdir=./#'\
-e 's#@VERSION@#$(VERSION)#g'\
+ -e 's#@GMSH_VERSION@#$(GMSH_VERSION)#g'\
-e 's#@RSYS_VERSION@#$(RSYS_VERSION)#g'\
-e 's#@SENC3D_VERSION@#$(SENC3D_VERSION)#g'\
-e 's#@SG3D_VERSION@#$(SG3D_VERSION)#g'\
diff --git a/scad.pc.in b/scad.pc.in
@@ -3,7 +3,10 @@ includedir=${prefix}/include
libdir=${prefix}/lib
Requires: rsys >= @RSYS_VERSION@
-Requires.private: senc3d >= @SENC3D_VERSION@, sg3d >= @SG3D_VERSION@
+Requires.private: \
+ gmsh >= @GMSH_VERSION@, \
+ senc3d >= @SENC3D_VERSION@, \
+ sg3d >= @SG3D_VERSION@
Name: Star-CAD
Description: Star CAD
Version: @VERSION@