Fix TDE version detection

pull/1/head
Timothy Pearson 12 years ago
parent 477d071b5d
commit cd6c8614e9

@ -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?" ) 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 # 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}" ) set( TDE_VERSION "${CMAKE_MATCH_1}" )
# ask tde-config for few paths # ask tde-config for few paths

Loading…
Cancel
Save