[CMake] How to link against a static lib under windows/minGW
Joachim Ziegler
ziegler at mpi-sb.mpg.de
Thu Oct 30 12:01:29 EDT 2008
Werner Smekal wrote:
> reason why it works in the first case. But your .lib seems to be the
import library for the dll, so I don't think you have a static library
anyways.
OK.
Now how can I tell CMake to include the (external) file
D:\nspr-4.6\lib\libnspr4.dll
(which is not created by the CMake compilation process) in the package
created by CPack? As the easiset solution, the library should just be
extracted in the same bin/ directory as my test program.
Joachim
More information about the CMake
mailing list