[Cmake] Unknown CMake command error message

Amitha Perera perera at cs.rpi.edu
Wed Oct 16 12:08:16 EDT 2002


"Geoffrey Cross" <geoff at cross.lu> writes:
> I just cvs updated my cmake under linux and ran it.  I now get the
> following error message about 10 times:
> 
> CMake Error: unknown CMake command:ERROR
> Reading cmake file in
> directory:/home/geoff/pkg/vxl/vxl_sources/geoffcode
> 
> Looking at the CMakeLists.txt in the offending directory doesn't suggest
> anything obviously wrong.  The error message doesn't really help (it
> suggests that I have tried to use the command "ERROR" which isn't
> recognized, this isn't the case).

I ran into a similar problem recently, and I think it is because of
left-over include CMakeListsLink.txt lines.

I agree the error is not useful. Perhaps the error handling mechanism
for INCLUDE has changed?



More information about the CMake mailing list