CMake/Tests/RunCMake/CheckModules/CheckStructHasMemberTooMany...

3 lines
129 B
CMake

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