diff --git a/src/lakefile.toml.in b/src/lakefile.toml.in index 73107ef31c..7c557d1e24 100644 --- a/src/lakefile.toml.in +++ b/src/lakefile.toml.in @@ -10,6 +10,9 @@ bootstrap = true defaultTargets = ["Init", "Std", "Lean", "Lake", "LakeMain", "Leanc"] +# Ensure that Lake and CMake agree on the build type (e.g., `Release`, `Debug`) +buildType = "${CMAKE_BUILD_TYPE}" + # The root of all the compiler output directories buildDir = "${CMAKE_BINARY_DIR}"