Re: [CMake] DeployQt4 and make package

2012-04-13 Thread Daniel Franke
On Friday 13 April 2012 20:21:39 Daniel Franke wrote: > Consider: > include (GNUInstallDirs) > set (PREFIX $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}) > file (GLOB PLUGINS "${QT_PLUGINS_DIR}/imageformats/*.dll") > install (CODE "include(DeployQt4) > FIXUP_

[CMake] DeployQt4 and make package

2012-04-13 Thread Daniel Franke
Hi all. I try to use DeployQt4(fixup_qt4_executable) to build a zip/nsis package that includes all the dependencies of the executable. After some struggling I got this working for `make install`, but `make package` still eludes me. Consider: include (GNUInstallDirs) set (PREFIX $ENV{DESTDI