From e1d94592626ea907254c40df3741f151a9229336 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Sun, 31 Mar 2024 23:04:25 +0800 Subject: [PATCH] fix cmake --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7808f3b..7b57624 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -148,8 +148,7 @@ function(sled_add_test) endif() target_include_directories(${SLED_TEST_NAME} PRIVATE ${SLED_TEST_INC_DIRS}) target_link_libraries( - ${SLED_TEST_NAME} PRIVATE ${SLED_TEST_LIBS} sled $<$:test_main>) + ${SLED_TEST_NAME} PRIVATE ${SLED_TEST_LIBS} sled $,,test_main>) add_test(NAME ${SLED_TEST_NAME} COMMAND ${SLED_TEST_NAME}) endfunction()