Fix typo in docs/cmake-integration.md

This commit is contained in:
Martin Hořeňovský 2021-08-11 22:57:36 +02:00
parent 2b54f1e7a6
commit 1554251f97
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -34,7 +34,7 @@ target_link_libraries(tests PRIVATE Catch2::Catch2WithMain)
# These tests need their own main # These tests need their own main
add_executable(custom-main-tests test.cpp test-main.cpp) add_executable(custom-main-tests test.cpp test-main.cpp)
target_link_libraries(custom-main-tests PRIVATE Catch2::Catch2WithMain) target_link_libraries(custom-main-tests PRIVATE Catch2::Catch2)
``` ```
These targets are also provided when Catch2 is used as a subdirectory. These targets are also provided when Catch2 is used as a subdirectory.