fixes target name changes in Catch2 conan package

This commit is contained in:
Eyck Jentzsch 2023-01-05 21:02:12 +01:00
parent 21f8410ba0
commit 3daa9ba90a
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
project (io_redirector)
add_executable (${PROJECT_NAME} test.cpp)
target_link_libraries (io_redirector LINK_PUBLIC scc-util catch2::catch2_with_main)
target_link_libraries (io_redirector LINK_PUBLIC scc-util Catch2::Catch2WithMain)
#add_test(NAME io_redirector_test COMMAND io_redirector)
catch_discover_tests(${PROJECT_NAME})