Skip to content

Commit b3c5acb

Browse files
authored
Update GoogleTest.cmake
1 parent 8528098 commit b3c5acb

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
@@ -37,7 +37,7 @@ else()
3737
-DCMAKE_AR=${CMAKE_AR}
3838
-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
3939
${EXTRA_GTEST_OPTS})
40-
set(BUILD_COMMAND ${CMAKE_COMMAND})
40+
set(BUILD_COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR}/unittests/googletest-prefix/src/googletest-build/ )
4141
endif()
4242

4343
ExternalProject_Add(

0 commit comments

Comments
 (0)