You don&#39;t need those backslashes there. Try:<br>file( MAKE_DIRECTORY &quot;${EXECUTABLE_OUTPUT_PATH}/${Release}/sqldrivers&quot; )<br><br><br>On Fri, Jan 21, 2011 at 11:21 AM, John Drescher &lt;<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>&gt; wrote:<br>
&gt;<br>&gt; I am getting a the following error:<br>&gt;<br>&gt; CREATING X:/32Bit/VC.90/Qt/StudyManager/bin/Debug/sqldrivers<br>&gt; CMake Error at CMake/GetQtRuntime.cmake:21 (file):<br>&gt;  file problem creating directory:<br>
&gt;  X:/CMakeBased/Qt/StudyManager/&quot;X:/32Bit/VC.90/Qt/StudyManager/bin/Debug/sqldrivers&quot;<br>&gt; Call Stack (most recent call first):<br>&gt;  CMake/GetQtRuntime.cmake:42 (add_qt_sqldriver_file)<br>&gt;  CMakeLists.txt:165 (include)<br>
&gt;<br>&gt; for the following two lines of code:<br>&gt; message( STATUS &quot;CREATING ${EXECUTABLE_OUTPUT_PATH}/${Release}/sqldrivers&quot;)<br>&gt; file( MAKE_DIRECTORY \&quot;${EXECUTABLE_OUTPUT_PATH}/${Release}/sqldrivers\&quot; )<br>
&gt;<br>&gt; Why is the file command prepending the source path to the make<br>&gt; directory command?<br>&gt;<br>&gt; BTW, this is 2.8.4_rc1<br>&gt;<br>&gt; Thanks,<br>&gt; John M. Drescher<br>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>&gt;<br>&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>&gt; Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>&gt;<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>
<br>