[CMake] FILE( MAKE_DIRECTORY path) prepends source path to make directory path.

2011-01-21 Thread John Drescher
I am getting a the following error: CREATING X:/32Bit/VC.90/Qt/StudyManager/bin/Debug/sqldrivers CMake Error at CMake/GetQtRuntime.cmake:21 (file): file problem creating directory: X:/CMakeBased/Qt/StudyManager/X:/32Bit/VC.90/Qt/StudyManager/bin/Debug/sqldrivers Call Stack (most recent call

Re: [CMake] FILE( MAKE_DIRECTORY path) prepends source path to make directory path.

2011-01-21 Thread David Cole
You don't need those backslashes there. Try: file( MAKE_DIRECTORY ${EXECUTABLE_OUTPUT_PATH}/${Release}/sqldrivers ) On Fri, Jan 21, 2011 at 11:21 AM, John Drescher dresche...@gmail.com wrote: I am getting a the following error: CREATING X:/32Bit/VC.90/Qt/StudyManager/bin/Debug/sqldrivers

Re: [CMake] FILE( MAKE_DIRECTORY path) prepends source path to make directory path.

2011-01-21 Thread David Cole
(That made it look like you were trying to create a directory with a literal in the name...) On Fri, Jan 21, 2011 at 11:33 AM, David Cole david.c...@kitware.com wrote: You don't need those backslashes there. Try: file( MAKE_DIRECTORY ${EXECUTABLE_OUTPUT_PATH}/${Release}/sqldrivers ) On

Re: [CMake] FILE( MAKE_DIRECTORY path) prepends source path to make directory path.

2011-01-21 Thread John Drescher
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