summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CheckModules/CheckIncludeFilesOk.cmake
blob: 0891ec69a4ea32c07c769ae086b6c6b3478451a8 (plain)
1
2
3
4
5
6
enable_language(C)
enable_language(CXX)
include(CheckIncludeFiles)
check_include_files("stddef.h;stdlib.h" HAVE_STDLIB_H)
check_include_files("stddef.h;stdlib.h" HAVE_STDLIB_H2 LANGUAGE C)
check_include_files("cstddef;cstdlib" HAVE_CSTDLIB_H LANGUAGE CXX)