Skip to content

Commit 7a6f5df

Browse files
sfodgraebm
andauthored
Fix dependency build failure on old cmake versions (#1176)
Co-authored-by: Michael Graeb <[email protected]>
1 parent fadfef4 commit 7a6f5df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/AwsPrebuildDependency.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ function(aws_prebuild_dependency)
3636
list(APPEND cmakeCommand ${cmakeOptionalVariables})
3737

3838
# The following variables should always be used.
39+
list(APPEND cmakeCommand -H${AWS_PREBUILD_SOURCE_DIR})
3940
list(APPEND cmakeCommand -B${depBinaryDir})
40-
list(APPEND cmakeCommand ${AWS_PREBUILD_SOURCE_DIR})
4141
list(APPEND cmakeCommand -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE})
4242
list(APPEND cmakeCommand -DCMAKE_PREFIX_PATH=${ESCAPED_PREFIX_PATH})
4343
list(APPEND cmakeCommand -DCMAKE_INSTALL_PREFIX=${depInstallDir})

0 commit comments

Comments
 (0)