From 7e6b36bc2d332a3cb66b83116a393ac4728236d5 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Thu, 29 Dec 2022 07:51:16 +0100 Subject: Improve C89/90 compat --- source/test/programs/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/test/programs/CMakeLists.txt') diff --git a/source/test/programs/CMakeLists.txt b/source/test/programs/CMakeLists.txt index bdaf89e..81332cf 100644 --- a/source/test/programs/CMakeLists.txt +++ b/source/test/programs/CMakeLists.txt @@ -6,7 +6,7 @@ project( if(KIT_ENABLE_TESTING) add_executable(too_many_tests too_many_tests.c) - target_link_libraries(too_many_tests ${KIT_TEST_LIBRARY}) + target_link_libraries(too_many_tests kit_test) add_test( NAME too_many_tests_test COMMAND too_many_tests --quiet) @@ -16,7 +16,7 @@ if(KIT_ENABLE_TESTING) TIMEOUT "15") add_executable(too_many_assertions too_many_assertions.c) - target_link_libraries(too_many_assertions ${KIT_TEST_LIBRARY}) + target_link_libraries(too_many_assertions kit_test) add_test( NAME too_many_assertions_test COMMAND too_many_assertions --quiet) @@ -26,7 +26,7 @@ if(KIT_ENABLE_TESTING) TIMEOUT "15") add_executable(cpp_example cpp_example.cpp) - target_link_libraries(cpp_example ${KIT_TEST_LIBRARY}) + target_link_libraries(cpp_example kit_test) add_test( NAME cpp_example_test COMMAND cpp_example --quiet) @@ -37,7 +37,7 @@ if(KIT_ENABLE_TESTING) if(NOT MSVC) add_executable(signals signals.cpp) - target_link_libraries(signals ${KIT_TEST_LIBRARY}) + target_link_libraries(signals kit_test) add_test( NAME signals_test COMMAND signals --no-carriage-return) -- cgit v1.2.3