CMake/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKe...

3 lines
124 B
CMake

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