[CMake] cannot invoke project() from a separate cmake file

cyril_wobow cyril at wobow.com
Wed Sep 17 08:00:48 EDT 2008


Hello

I am confronted to the following problem:
It seems that the PROJECT command cannot be invoked in a macro that is 
located in a cmake file that is included by my main CMakeLists.txt file.

This issue has been encountered a few years ago: 
http://www.cmake.org/pipermail/cmake/2005-February/006082.html .

This is a minor deal, but I could use a fix!

Thanks for your time,
Kind regards,
Cyril


More information about the CMake mailing list