[CMake] ExternalProject, Install command

Veijo Änäkäinen oh3nfc at gmail.com
Fri Jul 1 02:59:47 EDT 2011


Sorry about possible double sending, I guess my first mail to this list
didn't come through.

I try to cross compile ppp as an external project. The install command is

INSTALL_COMMAND
      make BINDIR=${EXTERNAL_PREFIX}/bin MANDIR=${EXTERNAL_PREFIX}/man
INSTALL='/usr/bin/install --strip-program=${STRIP_
PROGRAM}' install-progs


The install step fails with next error message

[  0%] Performing install step for 'ppp'
make: unrecognized option
'--strip-program=/opt/crosstool/gcc-3.4.5-glibc-2.3.6/armv5b-softfloat-linux/bin/armv5b-softfloat-linux-strip''

Is there any way to set a white space separated value for the make inside
the ExternalProject or should I use a separate script? Running the build
step directly in a shell works fine.

Thanks advanced

-Veijo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110701/7a0e49a2/attachment.htm>


More information about the CMake mailing list