summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.sbt4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sbt b/build.sbt
index cfab7fbb..a00500a1 100644
--- a/build.sbt
+++ b/build.sbt
@@ -106,8 +106,8 @@ lazy val chiselFrontend = (project in file("chiselFrontend")).
settings(publishArtifact := false).
dependsOn(coreMacros)
-// Hack to avoid circular dependency on chisel.
-val root = Project("chisel", file("."))
+// This will always be the root project, even if we are a sub-project.
+lazy val root = RootProject(file("."))
lazy val chisel = (project in file(".")).
enablePlugins(BuildInfoPlugin).