<br><br>On Friday, January 20, 2012, Chris Sigman &lt;<a href="mailto:cypris87@gmail.com">cypris87@gmail.com</a>&gt; wrote:<br>&gt; Hi all,<br>&gt; I&#39;m trying to build boost with ExternalProject_add using cmake 2.8.7, and there seems to be an error in the makefile it&#39;s generating.  Specifically, in the step where it created the directories, the makefile ends up with this line:<br>
&gt;  /apps/cmake/cmake-2.8.7/bin/cmake -E make_directory /workspace/boost/build CONFIGURE_CMD &quot;bootstrap.sh --libdir=/workspace/boost/install --includedir=/workspace/boost/install --with-libraries=serialization&quot; BUILD_CMD &quot;bjam install&quot;<br>
&gt;<br>&gt; It seems to me that that is supposed to be two or more separate calls.  This obviously ends up calling cmake in error.  Below is my call to ExternalProject_add, in-case that is what is in erorr, but I&#39;ve fooled around with it a fair amount and get the same results every time, so I don&#39;t think that&#39;s where the issue is<br>
&gt; ExternalProject_Add           ( boost<br>&gt;   PREFIX                        ${CMAKE_SOURCE_DIR}/boost/tmp<br>&gt;   DOWNLOAD_COMMAND              &quot;&quot;<br>&gt;   SOURCE_DIR                    ${CMAKE_SOURCE_DIR}/boost/1_48_0<br>
&gt;   INSTALL_DIR                   ${CMAKE_SOURCE_DIR}/boost/install<br>&gt;   BINARY_DIR                    ${CMAKE_SOURCE_DIR}/boost/build<br>&gt;   CONFIGURE_CMD                 &quot;bootstrap.sh --libdir=&lt;INSTALL_DIR&gt; --includedir=&lt;INSTALL_DIR&gt; --with-libraries=serialization&quot;<br>
&gt;   BUILD_CMD                     &quot;bjam install&quot;<br>&gt; )<br>&gt; Thanks for the help!<br>&gt;<br><br>Check your args... Should be CONFIGURE_COMMAND and BUILD_COMMAND.<br><br><br>HTH,<br>David<br>