summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-07 01:54:35 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-07 01:54:35 -0500
commitcd6c8614e972ea4ffbd7316d473b7b6e48ea67ff (patch)
tree76a386da0c174b773958d613908f329f34d5f933 /modules
parent477d071b5db5544ace5449f0c2eea6d5c01d693b (diff)
downloadtde-cmake-cd6c8614e972ea4ffbd7316d473b7b6e48ea67ff.tar.gz
tde-cmake-cd6c8614e972ea4ffbd7316d473b7b6e48ea67ff.zip
Fix TDE version detection
Diffstat (limited to 'modules')
-rw-r--r--modules/FindTDE.cmake2
1 files changed, 1 insertions, 1 deletions
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