I agree with Olaf. CMake needs better error reporting for parameter checking on macros and functions<br><br>I ran into similar with use of:<br><br><a href="http://www.cmake.org/Wiki/CMakeMacroParseArguments">http://www.cmake.org/Wiki/CMakeMacroParseArguments</a><br>
<br>where I elided the empty quotes "" and it was as though the macro/function it was contained in did not exist as though it could not find the ending paren ")". I realize I should always use functions as specified, but as humans inevitably make mistakes it's best to have decent error reporting so we can correct our ways. After scouring the macro/function I Ironically traced the error I was having to checking/getting the input parameters in a macro/function. So my error was due to the code I put in to get/check the input parameters to a function which due to bad use of parameters in this function caused the obscure error... Doesn't that just beat all. It was super awsome.<br>
<br><br><br><br><pre><br></pre><br><br>