Skip to content

Commit f58e807

Browse files
authored
Fix Cmake Prebuild Remove -S Option (#1158)
1 parent 0e08256 commit f58e807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/AwsPrebuildDependency.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function(aws_prebuild_dependency)
2929
string(REPLACE ";" "\\\\;" ESCAPED_PREFIX_PATH "${CMAKE_PREFIX_PATH}")
3030
# For execute_process to accept a dynamically constructed command, it should be passed in a list format.
3131
set(cmakeCommand "${CMAKE_COMMAND}")
32-
list(APPEND cmakeCommand -S ${AWS_PREBUILD_SOURCE_DIR})
32+
list(APPEND cmakeCommand ${AWS_PREBUILD_SOURCE_DIR})
3333
list(APPEND cmakeCommand -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE})
3434
list(APPEND cmakeCommand -DCMAKE_PREFIX_PATH=${ESCAPED_PREFIX_PATH})
3535
list(APPEND cmakeCommand -DCMAKE_INSTALL_PREFIX=${depInstallDir})

0 commit comments

Comments
 (0)