mirror of https://github.com/catchorg/Catch2.git
Fix typo in docs/cmake-integration.md
This commit is contained in:
parent
2b54f1e7a6
commit
1554251f97
|
@ -34,7 +34,7 @@ target_link_libraries(tests PRIVATE Catch2::Catch2WithMain)
|
|||
|
||||
# These tests need their own main
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue