diff cmake/IrccdPackage.cmake @ 37:ed35b9ac33bf

Misc: fix installation directory for Windows installer
author David Demelier <markand@malikania.fr>
date Tue, 23 Feb 2016 13:25:00 +0100
parents af9b35bf1585
children ae73915bb15d
line wrap: on
line diff
--- a/cmake/IrccdPackage.cmake	Tue Feb 23 13:07:09 2016 +0100
+++ b/cmake/IrccdPackage.cmake	Tue Feb 23 13:25:00 2016 +0100
@@ -28,6 +28,12 @@
 if (WIN32)
 	set(PKGSYS "Windows")
 	set(PKGSUFFIX "exe")
+
+	if (IRCCD_64BITS)
+		set(PKGTARGETDIR "C:/Program Files/irccd-${IRCCD_VERSION}")
+	else ()
+		set(PKGTARGETDIR "C:/Program Files (x86)/irccd-${IRCCD_VERSION}")
+	endif ()
 endif ()
 
 if (IRCCD_64BITS)