Skip to content
Snippets Groups Projects
Commit fd22581a authored by Mark Meredith's avatar Mark Meredith
Browse files

BUILD_SHARED_LIBS

parent 16bc5532
No related branches found
No related tags found
No related merge requests found
Pipeline #29848 passed
...@@ -18,13 +18,14 @@ class CsgEb(CMakePackage): ...@@ -18,13 +18,14 @@ class CsgEb(CMakePackage):
variant("cgal", default=True, description="Build with CGAL Support") variant("cgal", default=True, description="Build with CGAL Support")
depends_on("pegtl") depends_on("pegtl", type="link")
depends_on("catch2") depends_on("catch2", type="link")
depends_on("cgal", when="+cgal") depends_on("cgal", when="+cgal", type="link")
def cmake_args(self): def cmake_args(self):
return [ 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): def setup_run_environment(self, env):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment