Hello, does there exist a way to rename a target 'exe-foo' so that it is installed as 'bin/foo' finally?
With cmake-2.4.3, I tried
| install(TARGETS exe-foo
| RUNTIME DESTINATION bin
| RENAME foo)
but this fails with
| INSTALL TARGETS given unknown argument "RENAME".
The background is, that I have a project which ships both a library
'libfoo' and an executable 'foo'. Giving same name ('foo') causes
conflicts, using 'install(FILES ...') (which supports 'RENAME') does
not strip RPATHs.
Enrico
pgpLvXaxUOo6W.pgp
Description: PGP signature
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
