From 4c75d48608e29d16aabff6351e117eb4e44f589c Mon Sep 17 00:00:00 2001
From: unknown <bOBaN@bOBaN-desktop.(none)>
Date: Tue, 25 Sep 2012 19:39:21 +0200
Subject: [PATCH] even more mingw build/install fixes

---
 libcorpus2/CMakeLists.txt       | 1 +
 libcorpus2_whole/CMakeLists.txt | 2 ++
 libpwrutils/CMakeLists.txt      | 1 +
 3 files changed, 4 insertions(+)

diff --git a/libcorpus2/CMakeLists.txt b/libcorpus2/CMakeLists.txt
index e1e6637..dacd420 100644
--- a/libcorpus2/CMakeLists.txt
+++ b/libcorpus2/CMakeLists.txt
@@ -100,6 +100,7 @@ set_target_properties(corpus2 PROPERTIES
 	SOVERSION ${corpus2_ver_major})
 
 	install(TARGETS corpus2
+		RUNTIME DESTINATION bin
 		ARCHIVE DESTINATION lib
 		LIBRARY DESTINATION lib)
 
diff --git a/libcorpus2_whole/CMakeLists.txt b/libcorpus2_whole/CMakeLists.txt
index 9c00a6f..7f1f88d 100755
--- a/libcorpus2_whole/CMakeLists.txt
+++ b/libcorpus2_whole/CMakeLists.txt
@@ -41,6 +41,8 @@ target_link_libraries(corpus2_whole corpus2 ${LIBS})
 
 if(UNIX)
 	install(TARGETS corpus2_whole
+		RUNTIME DESTINATION bin
+		ARCHIVE DESTINATION lib
 		LIBRARY DESTINATION lib)
 
 	install(
diff --git a/libpwrutils/CMakeLists.txt b/libpwrutils/CMakeLists.txt
index 68c55e9..ac2518a 100644
--- a/libpwrutils/CMakeLists.txt
+++ b/libpwrutils/CMakeLists.txt
@@ -53,6 +53,7 @@ set_target_properties(pwrutils PROPERTIES
 	SOVERSION ${pwrutils_ver_major})
 
 	install(TARGETS pwrutils
+		RUNTIME DESTINATION bin
 		ARCHIVE DESTINATION lib
 		LIBRARY DESTINATION lib)
 
-- 
GitLab