- if ("${_file_type}" STREQUAL "*")
- foreach(_mask "/\\.[^/]+$" "\\.in$" "\\.py$" "\\.patch$" "CMakeLists\\.txt$" "\\.lyx~$")
- if(_current_item MATCHES ${_mask})
- #message(STATUS "removing item ${_current_item}")
- list(REMOVE_ITEM files_list "${_current_item}")
- endif()
- endforeach()
- endif()
- endif()
+ if ("${_file_type}" STREQUAL "*")
+ foreach(_mask "/\\.[^/]+$" "\\.in$" "\\.py$" "\\.patch$" "CMakeLists\\.txt$" "\\.lyx~$")
+ if(_current_item MATCHES ${_mask})
+ #message(STATUS "removing item ${_current_item}")
+ list(REMOVE_ITEM files_list "${_current_item}")
+ endif()
+ endforeach()
+ endif()
+ endif()