Skip to content

Commit ffb2839

Browse files
authored
Fix configure command native builds
1 parent 27f93b7 commit ffb2839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/GoogleTest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if (EMSCRIPTEN)
2525
-B ${CMAKE_BINARY_DIR}/unittests/googletest-prefix/src/googletest-build/)
2626
set(BUILD_COMMAND emmake make)
2727
else()
28-
set(CONFIGURE_COMMAND CMAKE_ARGS -G ${CMAKE_GENERATOR}
28+
set(CONFIGURE_COMMAND ${CMAKE_COMMAND} CMAKE_ARGS -G ${CMAKE_GENERATOR}
2929
-DCMAKE_BUILD_TYPE=$<CONFIG>
3030
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
3131
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}

0 commit comments

Comments
 (0)