diff options
Diffstat (limited to 'modules/TDEMacros.cmake')
-rw-r--r-- | modules/TDEMacros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index f4f3b4f..07f161f 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -1898,7 +1898,7 @@ macro( tde_create_translated_desktop ) file( MAKE_DIRECTORY "${_binary_basedir}" ) # process source file as a configuration file if necessary - if( "${_src}" MATCHES "\\.cmake$" ) + if( "+${_src}" MATCHES "\\.cmake$" ) configure_file( ${_src} ${_basename} @ONLY ) set( _src "${CMAKE_CURRENT_BINARY_DIR}/${_basename}" ) string( REGEX REPLACE "\\.cmake$" "" _basename "${_basename}" ) |