QTfrontend/CMakeLists.txt
changeset 591 11b40565b851
parent 579 94db15de0392
child 592 b1189f31e354
--- a/QTfrontend/CMakeLists.txt	Mon Sep 10 20:00:58 2007 +0000
+++ b/QTfrontend/CMakeLists.txt	Tue Sep 11 16:46:43 2007 +0000
@@ -147,3 +147,11 @@
 	${HW_LINK_LIBS})
 
 install(PROGRAMS "${EXECUTABLE_OUTPUT_PATH}/hedgewars${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION bin)
+
+if(WIN32 AND NOT UNIX)
+	string(REPLACE "\\" "/" QT_BIN_DIR $ENV{QTDIR}/bin)
+
+	install(FILES
+		"${QT_BIN_DIR}/mingwm10.dll"
+		DESTINATION bin)
+endif(WIN32 AND NOT UNIX)