summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-11 13:33:29 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-11 13:33:29 -0600
commit11b41ecbbc6819eac4cd7bc9ccd5419e150a5a28 (patch)
tree8ce81863b9a6e93d503392cb89b1ed704f0c45db
parent4ea6710b85d7e2672a764e775cf4a69099e9cd99 (diff)
downloadtde-cmake-11b41ecb.tar.gz
tde-cmake-11b41ecb.zip
Update version checks
-rw-r--r--modules/FindTDE.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/FindTDE.cmake b/modules/FindTDE.cmake
index 838f735..b5356f8 100644
--- a/modules/FindTDE.cmake
+++ b/modules/FindTDE.cmake
@@ -31,11 +31,11 @@ if( NOT TDE_FOUND )
RESULT_VARIABLE _result
OUTPUT_STRIP_TRAILING_WHITESPACE )
if( _result )
- tde_message_fatal( "Unable to run kde-config!\n KDELIBS are correctly installed?\n Path to kde-config are corect?" )
+ tde_message_fatal( "Unable to run kde-config!\n TDELIBS are correctly installed?\n Path to kde-config are corect?" )
endif( _result )
# parse kde-config output, to extract TDE version
- string( REGEX MATCH "KDE: ([0-9\\.]+)" __dummy "${_version}" )
+ string( REGEX MATCH "TDE: ([0-9\\.]+)" __dummy "${_version}" )
set( TDE_VERSION "${CMAKE_MATCH_1}" )
# ask kde-config for few paths
@@ -62,7 +62,7 @@ if( NOT TDE_FOUND )
HINTS ${TDE_BIN_INSTALL_DIR}
OUTPUT_STRIP_TRAILING_WHITESPACE )
if( NOT ${__var} )
- tde_message_fatal( "${__prog} are NOT found.\n KDELIBS are correctly installed?" )
+ tde_message_fatal( "${__prog} are NOT found.\n TDELIBS are correctly installed?" )
endif( NOT ${__var} )
endmacro( __internal_find_program )