summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey.cmake')
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey.cmake b/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey.cmake
new file mode 100644
index 0000000..900eb0a
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey.cmake
@@ -0,0 +1,2 @@
+include(CheckStructHasMember)
+check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_K LANGUAG C)