From cd6c8614e972ea4ffbd7316d473b7b6e48ea67ff Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 7 Aug 2012 01:54:35 -0500 Subject: [PATCH] Fix TDE version detection --- modules/FindTDE.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/FindTDE.cmake b/modules/FindTDE.cmake index 0a76a3d..503a3d3 100644 --- a/modules/FindTDE.cmake +++ b/modules/FindTDE.cmake @@ -40,7 +40,7 @@ if( NOT TDE_FOUND ) MESSAGE "Unable to run tde-config!\n TDELIBS are correctly installed?\n Path to tde-config are corect?" ) # parse tde-config output, to extract TDE version - string( REGEX MATCH "TDE: ([0-9\\.]+)" __dummy "${_version}" ) + string( REGEX MATCH "TDE: R([0-9\\.]+).*" __dummy "${_version}" ) set( TDE_VERSION "${CMAKE_MATCH_1}" ) # ask tde-config for few paths