Fixed tests with catch 1.x.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2019-06-10 18:33:44 +02:00
parent 4922f79bf2
commit 449bb65303
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -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()