From 5b1cd650ec5c7d89129889bd98ec1cecafc4b171 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 27 Jul 2020 17:20:23 +0200 Subject: Remove curses dependency for integration_check and prof2d_check These were a hack caused by badly testable API --- tests/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 23a0c95d..799e43eb 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -31,10 +31,6 @@ add_test(centering_check centering_check) add_executable(integration_check integration_check.c histogram.c) target_include_directories(integration_check PRIVATE ${COMMON_INCLUDES}) target_link_libraries(integration_check PRIVATE ${COMMON_LIBRARIES}) -if (CURSES_FOUND) - target_include_directories(integration_check PRIVATE ${CURSES_INCLUDE_DIRS}) - target_link_libraries(integration_check PRIVATE ${CURSES_LIBRARIES}) -endif (CURSES_FOUND) add_test(integration_check integration_check) add_executable(list_check list_check.c) @@ -50,10 +46,6 @@ add_test(prediction_gradient_check prediction_gradient_check) add_executable(prof2d_check prof2d_check.c histogram.c) target_include_directories(prof2d_check PRIVATE ${COMMON_INCLUDES}) target_link_libraries(prof2d_check PRIVATE ${COMMON_LIBRARIES}) -if (CURSES_FOUND) - target_include_directories(prof2d_check PRIVATE ${CURSES_INCLUDE_DIRS}) - target_link_libraries(prof2d_check PRIVATE ${CURSES_LIBRARIES}) -endif (CURSES_FOUND) add_test(prof2d_check prof2d_check) add_executable(ring_check ring_check.c) -- cgit v1.2.3