On 07/01/2011 03:32 PM, Mathieu Malaterre wrote:
> Dear all,
>
> I am trying to change the default behavior of cmake which installs
> MODULE to the LIBRARY destination. For example:
>
> ...
> add_library(test MODULE test.c)
> install(TARGETS test
> RUNTIME DESTINATION bin
> LIBRARY DESTINAT
Dear all,
I am trying to change the default behavior of cmake which installs
MODULE to the LIBRARY destination. For example:
...
add_library(test MODULE test.c)
install(TARGETS test
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib/static
)
...
Will install test