From 8c8a8c2417715c24507742554b0fad4a0a195e60 Mon Sep 17 00:00:00 2001 From: Chenxing Luo Date: Sun, 7 Apr 2024 14:08:57 -0400 Subject: [PATCH] Fix typo in target name in CMakeLists.txt --- source/api_cc/tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/api_cc/tests/CMakeLists.txt b/source/api_cc/tests/CMakeLists.txt index 6708365103..5a19fa3f40 100644 --- a/source/api_cc/tests/CMakeLists.txt +++ b/source/api_cc/tests/CMakeLists.txt @@ -10,7 +10,7 @@ target_link_libraries(runUnitTests_cc GTest::gtest_main ${LIB_DEEPMD_CC} if(UNIX AND NOT APPLE) find_library(RT_LIBRARY rt) if(RT_LIBRARY) - target_link_libraries(runUnitTests_c PRIVATE ${RT_LIBRARY}) + target_link_libraries(runUnitTests_cc PRIVATE ${RT_LIBRARY}) endif() endif()