Skip to content

Commit 202715c

Browse files
authored
Try fix
1 parent b1a350c commit 202715c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/modules/GoogleTest.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ ExternalProject_Add(
3939
# -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE:PATH=ReleaseLibs
4040
# -Dgtest_force_shared_crt=ON
4141
CONFIGURE_COMMAND ${config_cmd} -G ${CMAKE_GENERATOR}
42+
-S ${CMAKE_BINARY_DIR}/unittests/googletest-prefix/src/googletest/
43+
-B ${CMAKE_BINARY_DIR}/unittests/googletest-prefix/src/googletest-build/
4244
-DCMAKE_BUILD_TYPE=$<CONFIG>
4345
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
4446
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}

0 commit comments

Comments
 (0)