Brad King wrote:
> A completely different approach would be to make sure that
> myscript.pl.in has execute permission in the source tree.

...and a much simpler way is to not actually make them executable at all
but instead use FIND_PACKAGE(Perl) to get the perl executable and then
run the script by prepending ${PERL_EXECUTABLE} to the command line.
This has the advantage that perl need not be in the path at build time
and you can produce an error if perl is not installed.

-Brad
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to