We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b623ffd commit 0bb401bCopy full SHA for 0bb401b
cmake/testing/GoogleTest.cmake
@@ -19,7 +19,7 @@ function(gtest_discover_tests TARGET)
19
if (WIN32)
20
add_custom_command(
21
TARGET ${TARGET} POST_BUILD
22
- COMMAND ${CMAKE_COMMAND} -DTARGET=${TARGET} -DCONFIG=$<CONFIG> "-DRUNTIME_LIST=$<TARGET_RUNTIME_DLLS:${TARGET}>" -P ${CMAKE_SOURCE_DIR}/cmake/testing/generate_google_test_win_wrapper.cmake
+ COMMAND ${CMAKE_COMMAND} -DTARGET=${TARGET} -DCONFIG=$<CONFIG> "-DRUNTIME_LIST=$<TARGET_RUNTIME_DLLS:${TARGET}>" -P ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/generate_google_test_win_wrapper.cmake
23
VERBATIM
24
)
25
0 commit comments