Skip to content

Commit

Permalink
Fix dependency failure on old cmake versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Dec 10, 2024
1 parent fadfef4 commit e3e7e7a
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 -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})
Expand Down

0 comments on commit e3e7e7a

Please sign in to comment.