1 file(GLOB filter_files ${CMAKE_CURRENT_SOURCE_DIR}/*.txt) 2 foreach(filter_file ${filter_files}) 3 set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${filter_file}) 4 endforeach() 5