Hello everybody!<div><br></div><div>I'm creating a NSIS package using CPack to install my software.</div><div><br></div><div>The code is compilled using Visual Studio 9, and the compilation + packing is working well.</div>
<div><br></div><div>But, once i install the software using the generated NSIS package, the program doesn't start because NSIS did't installed the required libraries.</div><div><br></div><div>The strange is that in my CMakeLists.txt, i tell that my binary requires these libraries.</div>
<div><br></div><div>The libraries are:</div><div>* OpenSSL</div><div>* Pthreads</div><div>(both found using find macros)</div><div><br></div><div><br></div><div>The piece of configuration that defines these relashionship is showed bellow:</div>
<div>-------------------------------------------------------------------------------------</div><div><div>find_package(Pthreads REQUIRED)</div><div>find_package(OpenSSL REQUIRED)</div><div><br></div><div><div>include_directories(${OPENSSL_INCLUDE_DIR})</div>
<div>include_directories(${PTHREADS_INCLUDE_DIR})</div></div><div><br></div><div><div>install(TARGETS MyBin DESTINATION "MyBin1-0/bin")</div><div>install(TARGETS ${PTHREADS} DESTINATION "MyBin1-0/bin")</div>
<div>install(TARGETS ${OPENSSL} DESTINATION "MyBin1-0/bin")</div></div><div>-------------------------------------------------------------------------------------</div><div><br></div><div>The "MyBin" binary is installed well, but the libraries of Pthreads and OpenSSL not!</div>
<div><br></div><div>Any hint??</div><div><br></div><div>Thanks in advance for your attention, and any help is very welcome!</div><div><br></div>-- <br>Best regards,<br><br>Maurício Souza Klein.<br>
</div>