From aeec694443c878554030119b811669fb3df10080 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Tue, 18 Apr 2023 16:00:23 +0300 Subject: [PATCH] Fixes in test runner --- tools/test/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/test/CMakeLists.txt b/tools/test/CMakeLists.txt index fe37bb5c..8255ac0c 100644 --- a/tools/test/CMakeLists.txt +++ b/tools/test/CMakeLists.txt @@ -7,6 +7,8 @@ if(PSEMEK_BUILD_TESTS) add_executable(psemek-run-tests source/main.cpp include/psemek/test/test.hpp) set(PSEMEK_TESTS_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include") target_include_directories(psemek-run-tests PUBLIC "${PSEMEK_TESTS_INCLUDE_DIR}") + target_link_libraries(psemek-run-tests PUBLIC psemek-log) + target_compile_options(psemek-run-tests PUBLIC -Wno-restrict) function(psemek_glob_tests lib dir) file(GLOB_RECURSE _PSEMEK_ADD_TESTS_SOURCES "${dir}/*.cpp")