Skip to content

Commit

Permalink
cmake command?
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Oct 10, 2024
1 parent c4d2439 commit 92356ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/AwsPrebuildDependency.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ function(aws_prebuild_dependency)
set(depBinaryDir ${CMAKE_BINARY_DIR}/deps/${AWS_PREBUILD_DEPENDENCY_NAME})
set(depInstallDir ${depBinaryDir}/install)
file(MAKE_DIRECTORY ${depBinaryDir})
message(STATUS "XXXXXXXXXXXX depBinaryDir ${depBinaryDir}")
message(STATUS "XXXXXXXXXXXX CMAKE_COMMAND ${CMAKE_COMMAND}")

# For execute_process to accept a dynamically constructed command, it should be passed in a list format.
set(cmakeCommand "${CMAKE_COMMAND}")
list(APPEND cmakeCommand -S ${AWS_PREBUILD_SOURCE_DIR})
Expand Down

0 comments on commit 92356ca

Please sign in to comment.