Commit fd22581a authored by Mark Meredith's avatar Mark Meredith
Browse files

BUILD_SHARED_LIBS

parent 16bc5532
Loading
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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):