diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-01-27 19:52:23 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-01-27 19:52:23 +0100 |
commit | 274366fb8b90704586d7beef216b765cc0688b08 (patch) | |
tree | f8761a3c54ce6aefc1df73bb3febcbdc6a93559a | |
parent | 9a217903f9fa35ca12213a6e9ee3d2cb87d1131d (diff) | |
download | tde-cmake-274366fb8b90704586d7beef216b765cc0688b08.tar.gz tde-cmake-274366fb8b90704586d7beef216b765cc0688b08.zip |
Fix icon name parsing in tde_install_icons
-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 6bb7e28..c3bb81a 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -131,7 +131,7 @@ macro( tde_install_icons ) file(GLOB _icon_files *-${_icon}.png *-${_icon}.mng _icon_files *-${_icon}.svg* ) foreach( _icon_file ${_icon_files} ) # FIXME need a review - string( REGEX MATCH "^.*/([a-zA-Z][a-zA-Z])([0-9a-zA-Z]+)\\-([a-z]+)\\-(.+)$" _dummy "${_icon_file}" ) + string( REGEX MATCH "^.*/([a-zA-Z][a-zA-Z])([0-9a-zA-Z]+)\\-([a-z]+)\\-([^/]+)$" _dummy "${_icon_file}" ) set( _type "${CMAKE_MATCH_1}" ) set( _size "${CMAKE_MATCH_2}" ) set( _group "${CMAKE_MATCH_3}" ) |