1 include (CheckIncludeFiles)
3 MACRO(vlc_check_include_files files)
4 foreach(filepath ${ARGV})
5 # Construct the HAVE_ var
6 string(REGEX REPLACE "[-./:;,?=+\\]" "_" filepath_escaped ${filepath})
7 string(TOUPPER ${filepath_escaped} filepath_escaped)
8 check_include_files( ${filepath} HAVE_${filepath_escaped} )
10 ENDMACRO(vlc_check_include_files)