CMake/Tests/RunCMake/CheckModules/CheckStructHasMemberMissing...

3 lines
116 B
CMake

include(CheckStructHasMember)
check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_K C)