# HG changeset patch # User Mike Becker # Date 1700778951 -3600 # Node ID 0b635553b86a43ba1ee28b43b9a9916fa1fe479b # Parent 255ee4abf2ec3773d156c84d7daf0c39febc75db fix wrong static lib name in check target diff -r 255ee4abf2ec -r 0b635553b86a tests/CMakeLists.txt --- a/tests/CMakeLists.txt Thu Nov 23 23:33:09 2023 +0100 +++ b/tests/CMakeLists.txt Thu Nov 23 23:35:51 2023 +0100 @@ -36,5 +36,5 @@ selftest.cpp util_allocator.cpp ) -target_link_libraries(ucxtest ${CMAKE_BINARY_DIR}/../libucx${STLIB_EXT} gtest_main) +target_link_libraries(ucxtest ${CMAKE_BINARY_DIR}/../libucx_static${STLIB_EXT} gtest_main) gtest_discover_tests(ucxtest) diff -r 255ee4abf2ec -r 0b635553b86a tests/Makefile --- a/tests/Makefile Thu Nov 23 23:33:09 2023 +0100 +++ b/tests/Makefile Thu Nov 23 23:35:51 2023 +0100 @@ -25,7 +25,7 @@ TEST_DIR=$(build_dir)/tests -all: $(TEST_DIR) $(build_dir)/libucx.a +all: $(TEST_DIR) $(build_dir)/libucx_static.a cd $(TEST_DIR) && $(CMAKE) -DSTLIB_EXT="$(STLIB_EXT)" "$(src_dir)/tests" && $(CMAKE) --build . @echo "[ Tests complete ]"