Hello,

I updated cmake from 2.8.10-2 to 2.8.12.
Since the update I get the following error on Mac OS (10.6.8) when I run the 
command 'cmake -G "Unix Makefiles" ../source':

"add_subdirectory not given a binary directory but the given source directory 
is not a subdirectory of...
When specifying an out-of-tree source a binary directory must be explicitly 
specified."

The main CMakeLists.txt file looks like:

.
.
.
add_subdirectory(prjA)
add_subdirectory(prjB)
.
.
.

Has something changed for the add_directory() command?

The second problem after the upgrade is that I get the messages "sh: ps: 
command not found" when I use Qt4 in my projects.

Thanks in advance

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to