[CMake] Unknown CMake command "CHECK_STRUCT_HAS_MEMBER"
Alexander Neundorf
a.neundorf-work at gmx.net
Thu Mar 25 18:23:41 EDT 2010
On Thursday 25 March 2010, Franklin Dorbon wrote:
> Hello,
> I get the below error when running CMAKE, the GUI version 2.8 on windows:
>
> CMake Error at cmake/internal/SearchForStuff.cmake:78
> (CHECK_STRUCT_HAS_MEMBER): Unknown CMake command "CHECK_STRUCT_HAS_MEMBER".
> Call Stack (most recent call first):
> CMakeLists.txt:49 (INCLUDE)
>
> I don't understand why this command cannot be found, it seems that I
> have used CMAKE before and not had to do anything special to use this.
> Is this just error with my CMakeLists.txt?
Do you have a
include(CheckStructHasMember)
somewhere ? This is necessary, this file defines the macro.
Alex
More information about the CMake
mailing list