[CMake] Fwd: CPACK/NSIS: Subfolders/components related generation issue

Rolf Eike Beer eike at sf-mail.de
Wed Jul 27 04:05:45 EDT 2011


> Yes I do:
>
> install(
>     TARGETS GluonCore
>     RUNTIME DESTINATION bin
>     LIBRARY DESTINATION ${LIB_INSTALL_DIR}
>     ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
>     FRAMEWORK DESTINATION ${LIB_INSTALL_DIR}
> )

If all destinations point to the same place you don't need to set them all
explicitely, this should do the same:

install(
    TARGETS GluonCore
    RUNTIME DESTINATION bin
    DESTINATION ${LIB_INSTALL_DIR}
)

Eike


More information about the CMake mailing list