Thu, 23 Nov 2023 23:35:51 +0100
fix wrong static lib name in check target
tests/CMakeLists.txt | file | annotate | diff | comparison | revisions | |
tests/Makefile | file | annotate | diff | comparison | revisions |
1.1 --- a/tests/CMakeLists.txt Thu Nov 23 23:33:09 2023 +0100 1.2 +++ b/tests/CMakeLists.txt Thu Nov 23 23:35:51 2023 +0100 1.3 @@ -36,5 +36,5 @@ 1.4 selftest.cpp 1.5 util_allocator.cpp 1.6 ) 1.7 -target_link_libraries(ucxtest ${CMAKE_BINARY_DIR}/../libucx${STLIB_EXT} gtest_main) 1.8 +target_link_libraries(ucxtest ${CMAKE_BINARY_DIR}/../libucx_static${STLIB_EXT} gtest_main) 1.9 gtest_discover_tests(ucxtest)
2.1 --- a/tests/Makefile Thu Nov 23 23:33:09 2023 +0100 2.2 +++ b/tests/Makefile Thu Nov 23 23:35:51 2023 +0100 2.3 @@ -25,7 +25,7 @@ 2.4 2.5 TEST_DIR=$(build_dir)/tests 2.6 2.7 -all: $(TEST_DIR) $(build_dir)/libucx.a 2.8 +all: $(TEST_DIR) $(build_dir)/libucx_static.a 2.9 cd $(TEST_DIR) && $(CMAKE) -DSTLIB_EXT="$(STLIB_EXT)" "$(src_dir)/tests" && $(CMAKE) --build . 2.10 @echo "[ Tests complete ]" 2.11