From fd22581a6c5ffafe3974a53867d80ca13507bccd Mon Sep 17 00:00:00 2001 From: Mark Meredith <mark.meredith@netl.doe.gov> Date: Mon, 7 Feb 2022 09:53:34 -0500 Subject: [PATCH] BUILD_SHARED_LIBS --- .spack/repo/packages/csg-eb/package.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.spack/repo/packages/csg-eb/package.py b/.spack/repo/packages/csg-eb/package.py index 5667497..b62554f 100644 --- a/.spack/repo/packages/csg-eb/package.py +++ b/.spack/repo/packages/csg-eb/package.py @@ -18,13 +18,14 @@ class CsgEb(CMakePackage): variant("cgal", default=True, description="Build with CGAL Support") - depends_on("pegtl") - depends_on("catch2") - depends_on("cgal", when="+cgal") + depends_on("pegtl", type="link") + depends_on("catch2", type="link") + depends_on("cgal", when="+cgal", type="link") def cmake_args(self): return [ - "-DCSG_CGAL_ENABLED={}".format("True" if "+cgal" in self.spec else "False") + "-DCSG_CGAL_ENABLED={}".format("True" if "+cgal" in self.spec else "False"), + "-DBUILD_SHARED_LIBS=1" ] def setup_run_environment(self, env): -- GitLab