Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / cmake / modules / UseCustomIncludes.cmake
blob5131dc3c47db432279ea40709c85866f135a9265
2 # - Include a custom CMake file relative to the current source directory.
3 # - If no filename is provided, CMakeListsCustom.txt is used.
5 macro( ADD_CUSTOM_CMAKE_INCLUDE  )
6     if( ${ARGC} GREATER 0 )
7         set( _file_list ${ARGN} )
8     else()
9         set( _file_list CMakeListsCustom.txt )
10     endif()
11     foreach (_include ${_file_list})
12         set( _include_file ${CMAKE_CURRENT_SOURCE_DIR}/${_include} )
13         if( EXISTS ${_include_file} )
14             message ( STATUS "Custom file found, including: ${_include_file}" )
15             include( ${_include_file} )
16         endif()
17     endforeach()
18 endmacro()