[CMake] Re: INSTALL command doesn't behave as documented
Thomas Arcila
thomas.arcila at imag.fr
Sat Aug 19 13:08:29 EDT 2006
Le Sat, 19 Aug 2006 19:02:12 +0200, Alan W. Irwin
<irwin at beluga.phys.uvic.ca> a écrit:
> software at chickadee> cat CMakeLists.txt project(test)
> install(PROGRAMS test.dat DESTINATION ${CMAKE_BINARY_DIR}/install RENAME
> test_renamed.dat)
I was about to send the same test case :)
> Thomas, as a temporary workaround for this bug you can use install(FILES
> ...
> ) instead. RENAME works fine for me in that case.
>
> install(FILES ... ) is documented as identical to install(PROGRAMS .... )
> except for the default permissions which you can override to be what you
> need for executables.
That's indeed a better workaround.
Thanks
More information about the CMake
mailing list