Skip to content

Commit 61f758e

Browse files
authored
Try to fix Google config
1 parent 1f2a599 commit 61f758e

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
@@ -38,7 +38,7 @@ ExternalProject_Add(
3838
# CMAKE_ARGS -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG:PATH=DebugLibs
3939
# -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE:PATH=ReleaseLibs
4040
# -Dgtest_force_shared_crt=ON
41-
CONFIGURE_COMMAND ${config_cmd}
41+
CONFIGURE_COMMAND ${config_cmd} -G ${CMAKE_GENERATOR}
4242
-DCMAKE_BUILD_TYPE=$<CONFIG>
4343
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
4444
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}

0 commit comments

Comments
 (0)