fix wrong static lib name in check target

Thu, 23 Nov 2023 23:35:51 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 23 Nov 2023 23:35:51 +0100
changeset 756
0b635553b86a
parent 755
255ee4abf2ec
child 757
49ceea78fce7

fix wrong static lib name in check target

tests/CMakeLists.txt file | annotate | diff | comparison | revisions
tests/Makefile file | annotate | diff | comparison | revisions
--- 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)
--- 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 ]"
 

mercurial