[CMake] Win32: INSTALL command fails to package .dll,
packages .lib
Salvatore Iovene
salvatore.iovene+cmake at googlemail.com
Fri Nov 16 05:25:30 EST 2007
On Nov 16, 2007 12:15 PM, Stephen Collyer <scollyer at netspinner.co.uk> wrote:
> I have a trivial library that I'm building with a SHARED attribute
> and I'm installing it into a lib directory with a cmake list file thus:
>
> ADD_LIBRARY(Test SHARED Test.cpp)
>
> INSTALL(TARGETS Test LIBRARY DESTINATION lib)
Try the following:
INSTALL(
TARGETS Test
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
)
--
Salvatore Iovene
http://www.iovene.com/
Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8
More information about the CMake
mailing list