Robert Dailey wrote:
Well, good news and bad news on this subject.

The good news is that I managed to get my includes working in my initial case. I had my includes.cmake file in the wrong directory

The bad news is now I'm having another issue with include(), and this time I DO have my cmake files in the correct directory. I have a file called "utility.cmake" which has a couple of Boost CMake utility functions in it that I'm borrowing, PARSE_ARGUMENTS() being one of them. When I do include( utility.cmake ) it works fine and I get no errors when I include it, however when I try to call parse_arguments() in the CMakeLists.txt file that's performing the include() it says:

/*Unknown CMake command "parse_arguments".*/

Any idea why it can't find that macro?


Maybe it finds the wrong utility.cmake file?

Try adding some message("here") type stuff to make sure the correct files are being loaded. With cmake 2.6.2 you can run cmake --trace to see all the files and commands as they are run by cmake. Should help you find the problem pretty quick.

-Bill
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to