cmake: Default to RelWithDebugInfo.
[vlc.git] / extras / buildsystem / cmake / include / vlc_check_functions_exist.cmake
1 include (CheckFunctionExists)
2
3 MACRO(vlc_check_functions_exist functions)
4     foreach(function ${ARGV})
5         # Construct the HAVE_ var
6         string(REGEX REPLACE "[-./:;,?=+\\]" "_" function_escaped ${function})
7         string(TOUPPER ${function_escaped} function_escaped)
8         check_function_exists( ${function} HAVE_${function_escaped} )
9     endforeach(function)
10 ENDMACRO(vlc_check_functions_exist)