Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/CMake
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-05-03 18:54:38 +0200
committerMartin Hořeňovský2020-05-03 18:54:38 +0200
commit19ecad6f68154df2ba182c93224bdda8d7527b34 (patch)
tree6ed9ad0b61d00074efd7466ce85eed1cacf8c108 /CMake
parent33c58dad419ccce92882e9edbe4fc6124bc193ee (diff)
downloadcatch3-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 'CMake')
-rw-r--r--CMake/catch2-with-main.pc.in (renamed from CMake/catch2-main.pc.in)6
-rw-r--r--CMake/catch2.pc.in2
2 files changed, 4 insertions, 4 deletions
diff --git a/CMake/catch2-main.pc.in b/CMake/catch2-with-main.pc.in
index 4189cc77..122f1f96 100644
--- a/CMake/catch2-main.pc.in
+++ b/CMake/catch2-with-main.pc.in
@@ -2,9 +2,9 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
pkg_version=@Catch2_VERSION@
-Name: Catch2-Main
-Description: Links in the default main function for Catch2
+Name: Catch2-With-Main
+Description: A modern, C++-native test framework for C++14 and above (links in default main)
Version: ${pkg_version}
Requires: catch2 = ${pkg_version}
Cflags: -I${includedir}
-Libs: -L${libdir} -lCatch2Main
+Libs: -L${libdir} -lCatch2WithMain
diff --git a/CMake/catch2.pc.in b/CMake/catch2.pc.in
index 183114b6..c37eb8ad 100644
--- a/CMake/catch2.pc.in
+++ b/CMake/catch2.pc.in
@@ -2,7 +2,7 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
Name: Catch2
-Description: A modern, C++-native, header-only, test framework for C++14 and above
+Description: A modern, C++-native, test framework for C++14 and above
URL: https://github.com/catchorg/Catch2
Version: @Catch2_VERSION@
Cflags: -I${includedir}