diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2017-11-11 15:02:08 (GMT) |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2017-11-11 15:04:05 (GMT) |
commit | ea1bb90270357ecd033c11c941b83e76e6d1525b (patch) | |
tree | a501e3b2dabbed2223c8e80449afb2634d4ef931 /Tests/RunCMake/CheckModules/CheckIncludeFilesUnknownLanguage.cmake | |
parent | 7669695a74959dbad7c801facea4c7428875ffc3 (diff) | |
download | CMake-ea1bb90270357ecd033c11c941b83e76e6d1525b.zip CMake-ea1bb90270357ecd033c11c941b83e76e6d1525b.tar.gz CMake-ea1bb90270357ecd033c11c941b83e76e6d1525b.tar.bz2 |
CheckIncludeFiles: add unit tests
Diffstat (limited to 'Tests/RunCMake/CheckModules/CheckIncludeFilesUnknownLanguage.cmake')
-rw-r--r-- | Tests/RunCMake/CheckModules/CheckIncludeFilesUnknownLanguage.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CheckModules/CheckIncludeFilesUnknownLanguage.cmake b/Tests/RunCMake/CheckModules/CheckIncludeFilesUnknownLanguage.cmake new file mode 100644 index 0000000..3a77cf9 --- /dev/null +++ b/Tests/RunCMake/CheckModules/CheckIncludeFilesUnknownLanguage.cmake @@ -0,0 +1,3 @@ +enable_language(C) +include(CheckIncludeFiles) +check_include_files("stddef.h;stdlib.h" HAVE_UNKNOWN_ARGUMENT_H LANGUAGE FOOBAR) |