Hi Eric,
You should use:
execute_process(
COMMAND ${CMAKE_COMMAND} -E create_symlink file link
WORKING_DIRECTORY $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/TestLink
)
Thanks, it works fine.
so the INSTALL(SCRIPT ...) should work for all of them as soon as symlinks
are supported (which
Hi,
I use install(SCRIPT...) to make links during installation. It works with a
normal installation (make install) but the script seems not to be executed
by CPack or CPack RPM (I have not tested other generators). I could solve
the problem by making a specific RPM spec but the post-install code
2011/5/5 Judicaël Bedouet j.bedo...@infonie.fr:
Hi,
Hi Judicaël,
I use install(SCRIPT...) to make links during installation. It works with a
normal installation (make install) but the script seems not to be executed
by CPack or CPack RPM (I have not tested other generators). I could solve