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

summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHaowei Hsu2022-07-25 02:55:10 +0800
committerMartin Hořeňovský2022-07-25 10:43:41 +0200
commit2b0fd854e2ecbc5ecb26e99a26a99dfbc731ab15 (patch)
tree7cd2bc4d16bf67d7d14558f23ae614d303608416 /src
parenta7dc85dd49773f6c3bb5a3f83f6ce496db89703e (diff)
downloadcatch3-2b0fd854e2ecbc5ecb26e99a26a99dfbc731ab15.tar.gz
Modify the install directories into convention.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
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}
)