Skip to content

Commit b93f826

Browse files
committed
chore: use CMake build type in Lake core build
1 parent 5b8d4d7 commit b93f826

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lakefile.toml.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ bootstrap = true
1010

1111
defaultTargets = ["Init", "Std", "Lean", "Lake", "LakeMain", "Leanc"]
1212

13+
# Ensure that Lake and CMake agree on the build type (e.g., `Release`, `Debug`)
14+
buildType = "${CMAKE_BUILD_TYPE}"
15+
1316
# The root of all the compiler output directories
1417
buildDir = "${CMAKE_BINARY_DIR}"
1518

0 commit comments

Comments
 (0)