Warning, /multimedia/kwave/cmake/CheckIncludeFilesCXX.cmake is written in an unsupported language. File is not indexed.

0001 #############################################################################
0002 ##    Kwave                - cmake/CheckIncludeFilesCXX.cmake
0003 ##                           -------------------
0004 ##    begin                : Tue Oct 13 2015
0005 ##    copyright            : (C) 2015 by Thomas Eschenbacher
0006 ##    email                : Thomas.Eschenbacher@gmx.de
0007 #############################################################################
0008 #
0009 #############################################################################
0010 #                                                                           #
0011 # Redistribution and use in source and binary forms, with or without        #
0012 # modification, are permitted provided that the following conditions        #
0013 # are met:                                                                  #
0014 #                                                                           #
0015 # 1. Redistributions of source code must retain the above copyright         #
0016 #    notice, this list of conditions and the following disclaimer.          #
0017 # 2. Redistributions in binary form must reproduce the above copyright      #
0018 #    notice, this list of conditions and the following disclaimer in the    #
0019 #    documentation and/or other materials provided with the distribution.   #
0020 #                                                                           #
0021 # For details see the accompanying cmake/COPYING-CMAKE-SCRIPTS file.        #
0022 #                                                                           #
0023 #############################################################################
0024 
0025 INCLUDE(CheckIncludeFileCXX)
0026 
0027 # like CHECK_INCLUDE_FILES, but for C++ header and aborts with a fatal error
0028 # if one of them was not found
0029 # usage: CHECK_INCLUDE_FILES_CXX(header1 [header2] ...)
0030 MACRO(CHECK_INCLUDE_FILES_CXX INCLUDES)
0031     FOREACH(_include ${INCLUDES})
0032         CHECK_INCLUDE_FILE_CXX(${_include} HAVE_${_include})
0033         IF (NOT HAVE_${_include})
0034             MESSAGE(FATAL_ERROR "unable to find the following C++ header file: ${_include}")
0035         ENDIF (NOT HAVE_${_include})
0036     ENDFOREACH(_include ${INCLUDES})
0037 ENDMACRO(CHECK_INCLUDE_FILES_CXX)
0038 
0039 #############################################################################
0040 #############################################################################