diff options
| author | crupest <crupest@outlook.com> | 2022-01-19 16:53:09 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-19 16:53:09 +0800 |
| commit | a42609c6cc6d89501d0421f371e4a2dc10dd1685 (patch) | |
| tree | e485183935a1c9b82e341f2d8fe03363d4fe4843 /test/common/CMakeLists.txt | |
| parent | bcd603a2f3f3e8525f15df1faa85ed1fcbe3a220 (diff) | |
| parent | 60bef51d804f8bdb5f1f17b82e43e54c1e71de36 (diff) | |
| download | cru-a42609c6cc6d89501d0421f371e4a2dc10dd1685.tar.gz cru-a42609c6cc6d89501d0421f371e4a2dc10dd1685.tar.bz2 cru-a42609c6cc6d89501d0421f371e4a2dc10dd1685.zip | |
Merge pull request #46 from crupest/dev
Fix fxxking Windows CI.
Diffstat (limited to 'test/common/CMakeLists.txt')
| -rw-r--r-- | test/common/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/common/CMakeLists.txt b/test/common/CMakeLists.txt index 1c669dcc..7926437c 100644 --- a/test/common/CMakeLists.txt +++ b/test/common/CMakeLists.txt @@ -12,4 +12,11 @@ if (UNIX) ) endif() +if (WIN32) + add_custom_command(TARGET cru_base_test POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_RUNTIME_DLLS:cru_base_test> $<TARGET_FILE_DIR:cru_base_test> + COMMAND_EXPAND_LISTS + ) +endif() + gtest_discover_tests(cru_base_test) |
