From 449bb6530387b2b1b69dbfae5d25e2d0f35686fd Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 10 Jun 2019 18:33:44 +0200 Subject: [PATCH] Fixed tests with catch 1.x. --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4d0158a..bc5ab0c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -13,7 +13,7 @@ else() # Catch 1.x message(STATUS "Catch 1.x found.") foreach(src ${sources_tests}) get_filename_component(bin ${src} NAME_WE) - add_executable(${bin} tests/main.cpp ${src}) + add_executable(${bin} main.cpp ${src}) target_link_libraries(${bin} ${PROJECT_NAME}) add_test(${bin} ${bin} "${EXTRA_TEST_ARGS}") endforeach()