[CMake] CPACK_STRIP_FILES not working for files not built by project

Ian Monroe ian at monroe.nu
Tue Jan 22 17:40:26 EST 2013


On Sun, Jan 20, 2013 at 11:46 PM, Eric Noulard <eric.noulard at gmail.com> wrote:
> Right I forgot one important bit, CPack plays with CMAKE_INSTALL_PREFIX and
> DESTDIR
>
> could you try that:
>
> execute_process(COMMAND ls $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}
> OUTPUT_VARIABLE lsresults)

Yep thanks. That did it!

Ian


More information about the CMake mailing list