> You don't need those backslashes there. Try:
> file( MAKE_DIRECTORY "${EXECUTABLE_OUTPUT_PATH}/${Release}/sqldrivers" )
>
That solved the issue.
The reason for my error (besides the headache that I have at the
moment) was that I copied the line from the the next line in the macro
which needs to put quotes around the file name since it is generating
the path in a batch file.
file( APPEND ${BatchFileName} "\"${CMAKE_COMMAND}\" -E
copy_if_different \"${RuntimeFile}\"
\"${EXECUTABLE_OUTPUT_PATH}/${Release}/sqldrivers/\"\n" )
It all works now.
Thanks,
John
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake