[CMake] How to add license

Petr Bena benapetr at gmail.com
Thu Dec 18 03:13:45 EST 2014


INCLUDE(CPACK) must be on end, not on beginning :)

On Thu, Dec 18, 2014 at 12:43 AM, Petr Bena <benapetr at gmail.com> wrote:
> I am using cpack and license always show No license provided.
>
> I do have SET(CPACK_RESOURCE_FILE_LICENSE
> "${CMAKE_CURRENT_SOURCE_DIR}/Copyright.txt") and the file is there.
> Why is that?


More information about the CMake mailing list