fix generating Windows installer

This commit is contained in:
Sebastian Krzyszkowiak 2012-09-30 10:29:21 +02:00
parent 8ced946622
commit ff2deb4dd7
2 changed files with 4 additions and 1 deletions

View file

@ -74,8 +74,10 @@ ELSE(WIN32 AND NOT UNIX)
SET(CPACK_GENERATOR "DragNDrop")
ENDIF(APPLE)
ENDIF(WIN32 AND NOT UNIX)
IF(UNIX)
SET(CPACK_SET_DESTDIR "ON")
ENDIF(UNIX)
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Sebastian Krzyszkowiak <dos@dosowisko.net>")
#SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.3.1-6), libgcc1 (>= 1:3.4.2-12)")
SET(CPACK_SET_DESTDIR "ON")
include(CPack)

View file

@ -50,6 +50,7 @@ common distributions.
If you're on GNU/Linux, and you're not packaging but only building for
yourself, there's no need to place any files here.
Remember to adjust install prefix when packaging.
-------------------------------------------------------------------------------
TODO: Support Mac OS X (if it's needed at all) and other architectures
than x86.