commit 45205f13155946ff366ca178842b4919a85290a0
parent 114c0522106ad71169a587675036066034a921f5
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 19 May 2023 18:20:34 +0200
Update the smc pkg-config file
Remove Star-3D from the list of requirements since it is only an
optional dependency used by a test. The other dependencies are no longer
considered private requirements since the public header of both is
directly included in the public header of Star-MonteCarlo. We finally
add -fopenmp as a private library value since one must link to OpenMP if
one statically links to Star-MonteCarlo.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/smc.pc.in b/smc.pc.in
@@ -2,9 +2,10 @@ prefix=@PREFIX@
includedir=${prefix}/include
libdir=${prefix}/lib
-Requires.private: rsys > @RSYS_VERSION@, s3d > @STAR-3D_VERSION@, star-sp > @STAR-SP_VERSION@
+Requires: rsys > @RSYS_VERSION@, star-sp > @STAR-SP_VERSION@
Name: Star-MonteCarlo
Description: Star-MonteCarlo library
Version: @VERSION@
Libs: -L${libdir} -lsmc
+Libs.private: -fopenmp
CFlags: -I${includedir}