Skip to content

Commit

Permalink
Properly quote arguments to gRPC CMake build
Browse files Browse the repository at this point in the history
  • Loading branch information
David Li authored and David Li committed Feb 5, 2019
1 parent 302dd33 commit cfa4ca5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions cpp/cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1406,15 +1406,15 @@ if (ARROW_WITH_GRPC)

set(GRPC_CMAKE_ARGS
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_PREFIX_PATH="${GRPC_PREFIX_PATH_ALT_SEP}"
"-DgRPC_CARES_PROVIDER=package"
"-DgRPC_GFLAGS_PROVIDER=package"
"-DgRPC_PROTOBUF_PROVIDER=package"
"-DgRPC_SSL_PROVIDER=package"
"-DgRPC_ZLIB_PROVIDER=package"
"-DCMAKE_CXX_FLAGS=${EP_CXX_FLAGS}"
"-DCMAKE_C_FLAGS=${EP_C_FLAGS}"
"-DCMAKE_INSTALL_PREFIX=${GRPC_PREFIX}"
-DCMAKE_PREFIX_PATH='${GRPC_PREFIX_PATH_ALT_SEP}'
'-DgRPC_CARES_PROVIDER=package'
'-DgRPC_GFLAGS_PROVIDER=package'
'-DgRPC_PROTOBUF_PROVIDER=package'
'-DgRPC_SSL_PROVIDER=package'
'-DgRPC_ZLIB_PROVIDER=package'
'-DCMAKE_CXX_FLAGS=${EP_CXX_FLAGS}'
'-DCMAKE_C_FLAGS=${EP_C_FLAGS}'
'-DCMAKE_INSTALL_PREFIX=${GRPC_PREFIX}'
-DCMAKE_INSTALL_LIBDIR=lib
-DBUILD_SHARED_LIBS=OFF)

Expand Down

0 comments on commit cfa4ca5

Please sign in to comment.