Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Modify the install directories into convention.

Commit
2b0fd854e2ecbc5ecb26e99a26a99dfbc731ab15
Author
Haowei Hsu ·
Committer
Martin Hořeňovský
Parents
a7dc85dd4977

Files · Download .tar.gz

Changes

 src/CMakeLists.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b3dc5570..bd0b6d97 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -359,8 +359,12 @@ if (NOT_SUBPROJECT)
         Catch2WithMain
       EXPORT
         Catch2Targets
-      DESTINATION
+      LIBRARY DESTINATION 
+        ${CMAKE_INSTALL_LIBDIR}
+      ARCHIVE DESTINATION
         ${CMAKE_INSTALL_LIBDIR}
+      RUNTIME DESTINATION
+        ${CMAKE_INSTALL_BINDIR}
     )