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 7ceea51 commit 68fbd11Copy full SHA for 68fbd11
.github/workflows/cmake_windows.yml
@@ -43,7 +43,7 @@ jobs:
43
44
- name: Configure CMake
45
shell: bash
46
- run: cmake --preset conan-default -DGTEST_DISCOVER_TESTS_DISCOVERY_MODE=PRE_TEST
+ run: cmake --preset conan-default
47
48
- name: Build
49
tests/CMakeLists.txt
@@ -54,7 +54,14 @@ else()
54
GTest::gtest
55
GTest::gtest_main)
56
57
- gtest_discover_tests(behaviortree_cpp_test)
+ if(WIN32)
58
+ gtest_discover_tests(behaviortree_cpp_test
59
+ DISCOVERY_MODE PRE_TEST
60
+ DISCOVERY_ENVIRONMENT "PATH=$<TARGET_FILE_DIR:behaviortree_cpp_test>;$ENV{PATH}"
61
+ )
62
+ else()
63
+ gtest_discover_tests(behaviortree_cpp_test)
64
+ endif()
65
66
endif()
67
0 commit comments