Skip to content

Commit

Permalink
more excape
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Oct 11, 2024
1 parent a62c71e commit c9e5c9a
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 @@ -26,7 +26,7 @@ function(aws_prebuild_dependency)
file(MAKE_DIRECTORY ${depBinaryDir})
message(STATUS "XXXXXXXXXXXX depBinaryDir ${depBinaryDir}")
message(STATUS "XXXXXXXXXXXX CMAKE_COMMAND ${CMAKE_COMMAND}")
string(REPLACE ";" "\\;" ESCAPDED_PREFIX_PATH "${CMAKE_PREFIX_PATH}")
string(REPLACE ";" "\\\\;" ESCAPDED_PREFIX_PATH "${CMAKE_PREFIX_PATH}")
message(STATUS "XXXXXXXXXXXX ESCAPDED_PREFIX_PATH ${ESCAPDED_PREFIX_PATH}")

# For execute_process to accept a dynamically constructed command, it should be passed in a list format.
Expand Down

0 comments on commit c9e5c9a

Please sign in to comment.