File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ target_link_libraries(test_lsp
99 GTest::gtest_main
1010 cxx-lsp)
1111
12- gtest_discover_tests(test_lsp)
12+ gtest_discover_tests(test_lsp DISCOVERY_MODE PRE_TEST )
Original file line number Diff line number Diff line change @@ -73,13 +73,11 @@ if (CXX_ENABLE_FLATBUFFERS)
7373 BINARY_SCHEMAS_DIR ${CMAKE_CURRENT_BINARY_DIR} /cxx
7474 FLAGS --cpp)
7575
76- target_link_libraries (cxx-parser
77- PRIVATE $<BUILD_INTERFACE:cxx-ast-flatbuffers>
78- )
79-
8076 target_link_libraries (cxx-parser
8177 PRIVATE $<BUILD_INTERFACE:flatbuffers::header-only>
8278 )
79+
80+ add_dependencies (cxx-parser cxx-ast-flatbuffers)
8381else ()
8482 target_compile_definitions (cxx-parser PRIVATE CXX_NO_FLATBUFFERS)
8583endif ()
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ target_link_libraries(test_api
1010 GTest::gtest_main
1111 cxx-parser)
1212
13- gtest_discover_tests(test_api)
13+ gtest_discover_tests(test_api DISCOVERY_MODE PRE_TEST )
You can’t perform that action at this time.
0 commit comments