summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-03-28 18:54:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-03-28 18:54:47 -0500
commit71be0ee5d441711ed7070bb69f4db18f775b1030 (patch)
treee036aef0ac313a1e974275ad3c81b4272719a3a4 /ConfigureChecks.cmake
parent448a0d753fd4bfcf29235abe56afcfa74ff97ac2 (diff)
downloadtdebase-71be0ee5d441711ed7070bb69f4db18f775b1030.tar.gz
tdebase-71be0ee5d441711ed7070bb69f4db18f775b1030.zip
Extract and include any pertinent SCM metadata from the crashed application in its crash report
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 87b81459b..4fa14ed1e 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -311,3 +311,15 @@ if( WITH_HAL AND (BUILD_KSMSERVER OR BUILD_KICKER OR BUILD_TDEIOSLAVES) )
endif( )
endif( )
+
+# check for libr
+if( WITH_ELFICON )
+ pkg_search_module( LIBR libr )
+ if( NOT LIBR_FOUND )
+ message(FATAL_ERROR "\nelficon support was requested, but libr was not found on your system" )
+ endif( NOT LIBR_FOUND )
+ if( NOT "${LIBR_VERSION}" STREQUAL "0.6.0" )
+ message(FATAL_ERROR "\nelficon support was requested, but the libr version on your system may not be compatible with TDE" )
+ endif( NOT "${LIBR_VERSION}" STREQUAL "0.6.0" )
+ set( HAVE_ELFICON 1 )
+endif( ) \ No newline at end of file