Skip to content

Commit

Permalink
CMake: cxxabi.h is only available to C++ compilers, use the right che…
Browse files Browse the repository at this point in the history
…ck macro.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181019 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
d0k committed May 3, 2013
1 parent d07d292 commit e050e59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/config-ix.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ if( WIN32 AND NOT CYGWIN )
endif()

include(CheckIncludeFile)
include(CheckIncludeFileCXX)
include(CheckLibraryExists)
include(CheckSymbolExists)
include(CheckFunctionExists)
Expand Down Expand Up @@ -37,7 +38,7 @@ endfunction()
check_include_file(argz.h HAVE_ARGZ_H)
check_include_file(assert.h HAVE_ASSERT_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(dl.h HAVE_DL_H)
check_include_file(dld.h HAVE_DLD_H)
Expand Down

0 comments on commit e050e59

Please sign in to comment.