Skip to content

Commit

Permalink
Restore passing AWS_PREBUILD_CMAKE_ARGUMENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Nov 8, 2024
1 parent 70ec6a2 commit 4e855e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/AwsPrebuildDependency.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ function(aws_prebuild_dependency)
if (CMAKE_TOOLCHAIN_FILE)
list(APPEND cmakeCommand -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE})
endif()
# Append provided arguments to CMake command.
if(AWS_PREBUILD_CMAKE_ARGUMENTS)
list(APPEND cmakeCommand ${AWS_PREBUILD_CMAKE_ARGUMENTS})
endif()

message(STATUS "cmake command for dependency ${AWS_PREBUILD_DEPENDENCY_NAME}: ${cmakeCommand}")

Expand Down

0 comments on commit 4e855e9

Please sign in to comment.