diff options
| author | Martin Hořeňovský | 2020-05-03 18:54:38 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-05-03 18:54:38 +0200 |
| commit | 19ecad6f68154df2ba182c93224bdda8d7527b34 (patch) | |
| tree | 6ed9ad0b61d00074efd7466ce85eed1cacf8c108 /examples | |
| parent | 33c58dad419ccce92882e9edbe4fc6124bc193ee (diff) | |
| download | catch3-19ecad6f68154df2ba182c93224bdda8d7527b34.tar.gz | |
Rename CMake/pkg-config target Catch2Main to Catch2WithMain
This describes the reality better, as it also links in the rest
of Catch2.
The on-disk name of the static library remains just `Catch2Main`,
as that is what it is -- single main function -- and on-disk artifacts
cannot describe link dependencies.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index d7c6fe93..af34d437 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -52,7 +52,7 @@ set(ALL_EXAMPLE_TARGETS ) foreach( name ${ALL_EXAMPLE_TARGETS} ) - target_link_libraries( ${name} Catch2 Catch2Main ) + target_link_libraries( ${name} Catch2 Catch2WithMain ) set_property(TARGET ${name} PROPERTY CXX_STANDARD 14) set_property(TARGET ${name} PROPERTY CXX_EXTENSIONS OFF) endforeach() |