From e3e7e7ae1c17c019a9d07f2f0cffd56373c28d48 Mon Sep 17 00:00:00 2001 From: Igor Abdrakhimov Date: Tue, 10 Dec 2024 11:28:22 -0800 Subject: [PATCH] Fix dependency failure on old cmake versions --- cmake/AwsPrebuildDependency.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/AwsPrebuildDependency.cmake b/cmake/AwsPrebuildDependency.cmake index e9bdbb6f3..4c196c66b 100644 --- a/cmake/AwsPrebuildDependency.cmake +++ b/cmake/AwsPrebuildDependency.cmake @@ -36,8 +36,8 @@ function(aws_prebuild_dependency) list(APPEND cmakeCommand ${cmakeOptionalVariables}) # The following variables should always be used. - list(APPEND cmakeCommand -B${depBinaryDir}) list(APPEND cmakeCommand ${AWS_PREBUILD_SOURCE_DIR}) + list(APPEND cmakeCommand -B${depBinaryDir}) list(APPEND cmakeCommand -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}) list(APPEND cmakeCommand -DCMAKE_PREFIX_PATH=${ESCAPED_PREFIX_PATH}) list(APPEND cmakeCommand -DCMAKE_INSTALL_PREFIX=${depInstallDir})