Skip to content

Commit 434046a

Browse files
committed
Add a comment
1 parent bb6c51d commit 434046a

File tree

1 file changed

+1
-1
lines changed
  • build-support/src/main/kotlin/aws/sdk/kotlin/gradle/crt

1 file changed

+1
-1
lines changed

build-support/src/main/kotlin/aws/sdk/kotlin/gradle/crt/CMakeTasks.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ private fun runCmake(project: Project, target: KotlinNativeTarget, cmakeArgs: Li
259259
project.logger.info("$exeName ${exeArgs.joinToString(separator = " ")}")
260260
executable(exeName)
261261
args(exeArgs)
262-
}
262+
}.result.get() // providers.exec is lazy, so fetch the result here to ensure the command executes
263263
}
264264

265265
private fun validateCrossCompileScriptsAvailable(project: Project, script: String) {

0 commit comments

Comments
 (0)