[CMake] include(InstallRequiredSystemLibraries) not working with NSIS
charles_west
crwest at ncsu.edu
Fri May 3 15:26:55 EDT 2013
Hello,
I'm kinda new. I've written a Qt program in Linux Mint, ported it over to
windows with Mingw32, got building working with CMake in Linux and windows,
and integrated CPack to create a .deb installer. The debian package has
nice automatic package resolution, but I am having trouble getting the NSIS
installer to grab the required libraries.
I've searched the help and the closest email chain I could find was this:
http://www.cmake.org/pipermail/cmake/2008-July/023076.html
They seem to have solved the issue for them, but I have not been able to
follow what they were doing well enough to get it to work (they didn't post
the CMakeLists).
I've very new with Windows development. If I may ask, is sticking the
required .dlls in the same directory as the application sufficient for it to
find them?
My build file below makes a functional installer, but despite using
include(InstallRequiredSystemLibraries) only the binary is copied. If I may
ask, what do I need to do to get the required .dlls to copy into the
installer? I'm using windows terminal with qt5's built in mingw32 compiler.
CMakeLists.txt
<http://cmake.3232098.n2.nabble.com/file/n7584348/CMakeLists.txt>
Commands to compile:
cmake -G"MinGW Makefiles"
mingw32-make.exe package
--
View this message in context: http://cmake.3232098.n2.nabble.com/include-InstallRequiredSystemLibraries-not-working-with-NSIS-tp7584348.html
Sent from the CMake mailing list archive at Nabble.com.
More information about the CMake
mailing list