1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00

CMake: cxxabi.h is only available to C++ compilers, use the right check macro.

llvm-svn: 181019
This commit is contained in:
Benjamin Kramer 2013-05-03 14:48:29 +00:00
parent aa8496276f
commit 3d4ed151f8

View File

@ -4,6 +4,7 @@ if( WIN32 AND NOT CYGWIN )
endif() endif()
include(CheckIncludeFile) include(CheckIncludeFile)
include(CheckIncludeFileCXX)
include(CheckLibraryExists) include(CheckLibraryExists)
include(CheckSymbolExists) include(CheckSymbolExists)
include(CheckFunctionExists) include(CheckFunctionExists)
@ -37,7 +38,7 @@ endfunction()
check_include_file(argz.h HAVE_ARGZ_H) check_include_file(argz.h HAVE_ARGZ_H)
check_include_file(assert.h HAVE_ASSERT_H) check_include_file(assert.h HAVE_ASSERT_H)
check_include_file(ctype.h HAVE_CTYPE_H) check_include_file(ctype.h HAVE_CTYPE_H)
check_include_file(cxxabi.h HAVE_CXXABI_H) check_include_file_cxx(cxxabi.h HAVE_CXXABI_H)
check_include_file(dirent.h HAVE_DIRENT_H) check_include_file(dirent.h HAVE_DIRENT_H)
check_include_file(dl.h HAVE_DL_H) check_include_file(dl.h HAVE_DL_H)
check_include_file(dld.h HAVE_DLD_H) check_include_file(dld.h HAVE_DLD_H)