On Nov 16, 2007 12:15 PM, Stephen Collyer <[EMAIL PROTECTED]> 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
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake