Skip to content

Commit

Permalink
Fix dependency build failure on old cmake versions (#1176)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Graeb <[email protected]>
  • Loading branch information
sfod and graebm authored Dec 10, 2024
1 parent fadfef4 commit 7a6f5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/AwsPrebuildDependency.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ function(aws_prebuild_dependency)
list(APPEND cmakeCommand ${cmakeOptionalVariables})

# The following variables should always be used.
list(APPEND cmakeCommand -H${AWS_PREBUILD_SOURCE_DIR})
list(APPEND cmakeCommand -B${depBinaryDir})
list(APPEND cmakeCommand ${AWS_PREBUILD_SOURCE_DIR})
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})
Expand Down

0 comments on commit 7a6f5df

Please sign in to comment.