Rolf Eike Beer 2622bc3f65 Clean up usage of if(... MATCHES regex) followed string(REGEX REPLACE regex)
The matches have already been calculated and can simply be taken from
CMAKE_MATCH_n variables. This avoids multiple compilations of the same or very
similar regular expressions.
2014-04-14 18:16:58 +02:00
..
2014-03-08 13:05:31 -05:00
2014-02-19 09:30:12 -05:00
2014-02-25 11:14:06 -05:00
2014-04-01 11:06:06 -04:00

See the "Find Modules" section of the cmake-developer(7) manual page.

For more information about how to contribute modules to CMake, see this page:
http://www.cmake.org/Wiki/CMake:Module_Maintainers