Loading .spack/repo/packages/csg-eb/package.py +5 −4 Original line number Diff line number Diff line Loading @@ -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): Loading Loading
.spack/repo/packages/csg-eb/package.py +5 −4 Original line number Diff line number Diff line Loading @@ -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): Loading