Fix win32 packages
authorunc0rr
Tue, 11 Sep 2007 16:46:43 +0000
changeset 591 11b40565b851
parent 590 e816adf4a27f
child 592 b1189f31e354
Fix win32 packages
QTfrontend/CMakeLists.txt
--- 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)