Skip to content

Commit cbba709

Browse files
committed
passing on options from parent cmake process to child process
1 parent b0fe3b7 commit cbba709

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

firestore/integration_test_internal/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ if(ANDROID)
170170
configure_file(abseil-cpp.cmake
171171
${CMAKE_CURRENT_LIST_DIR}/external/abseil-cpp/CMakeLists.txt COPYONLY)
172172
execute_process(COMMAND ${CMAKE_COMMAND} .
173+
-G ${CMAKE_GENERATOR}
174+
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
175+
-DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}
173176
RESULT_VARIABLE result
174177
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/external/abseil-cpp )
175178
if(result)

0 commit comments

Comments
 (0)