QTfrontend/CMakeLists.txt
changeset 99 fd9613278d1b
parent 93 c21ff3af56cf
child 119 665c07365cb6
--- a/QTfrontend/CMakeLists.txt	Sun Aug 06 16:00:23 2006 +0000
+++ b/QTfrontend/CMakeLists.txt	Sun Aug 06 17:11:33 2006 +0000
@@ -61,3 +61,15 @@
 	${QT_QTMAIN_LIBRARY})
 
 install(PROGRAMS "hedgewars${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION bin)
+
+
+if(WIN32 AND NOT UNIX)
+	string(REPLACE "\\" "/" QT_BIN_DIR $ENV{QTDIR}/bin)
+
+	install(FILES
+		"${QT_BIN_DIR}/QtNetwork4.dll"
+		"${QT_BIN_DIR}/QtGui4.dll"
+		"${QT_BIN_DIR}/QtCore4.dll"
+		"${QT_BIN_DIR}/mingwm10.dll"
+		DESTINATION bin)
+endif(WIN32 AND NOT UNIX)