Permalink
Browse files

Fixed regexp for module names

  • Loading branch information...
1 parent e84828b commit c2ce2fb8e4ad7c48864154ca613e62eaedff6e77 @drahosp drahosp committed Feb 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
View
@@ -26,7 +26,7 @@ configure_file ( config.in ${CMAKE_CURRENT_BINARY_DIR}/config.cmake )
## EXTERNAL PROJECTS
# Download and build external project using generated cache
macro ( install_dist _DIST )
- string ( REGEX MATCH "^([a-z]+[a-z0-9_.:-]*[a-z0-9]+)-?([^-]*)$" _DIST_NAME ${_DIST} )
+ string ( REGEX MATCH "^([a-z0-9]+[a-z0-9_.:-]*[a-z0-9]+)-?([^-]*)$" _DIST_NAME ${_DIST} )
set ( _DIST_NAME ${CMAKE_MATCH_1} )
set ( _DIST_VER ${CMAKE_MATCH_2} )

0 comments on commit c2ce2fb

Please sign in to comment.