Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Change build directory in cmake for opencv compiling

Hi all,

i have a question (i suppose that it's stupid but i've difficult). I'm try to compile with cmake (not cmake-gui!!!) opencv. The problem is that i need to change the build folder. I give you an example:

I have the source code and the cmakelist on directory /home/xxx/opencv/

I would like to execute cmake and put the build into /home/yyy/lib_opencv/ and subsequently call make install....

With cmake-gui i don't have a problem. But i have to use the cmake command shell.

Can you help me? I hope that i have explained clearly the problem

Thanks