summaryrefslogtreecommitdiffstats
path: root/modules/TDESetupPaths.cmake
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-17 11:17:16 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-17 11:17:16 +0000
commitdf3d616bad8974ea41ddf14b5708d2728147d1ae (patch)
treed305fab0d409335c8c95125a14a3c5a5a1654246 /modules/TDESetupPaths.cmake
parent536ef9b76746f2b8d37e7dcbbee9d632e684ebac (diff)
downloadtde-cmake-df3d616bad8974ea41ddf14b5708d2728147d1ae.tar.gz
tde-cmake-df3d616bad8974ea41ddf14b5708d2728147d1ae.zip
[kde-common/cmake] added macro tde_message_fatal
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1186735 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'modules/TDESetupPaths.cmake')
-rw-r--r--modules/TDESetupPaths.cmake16
1 files changed, 2 insertions, 14 deletions
diff --git a/modules/TDESetupPaths.cmake b/modules/TDESetupPaths.cmake
index 2433999..b28f098 100644
--- a/modules/TDESetupPaths.cmake
+++ b/modules/TDESetupPaths.cmake
@@ -11,18 +11,6 @@
#################################################
#####
-##### __tde_internal_setup_paths_error
-
-macro( __tde_internal_setup_paths_error )
- message( FATAL_ERROR
- "#################################################\n"
- " ${ARGV}\n"
- "#################################################" )
-endmacro( __tde_internal_setup_paths_error )
-
-
-#################################################
-#####
##### __tde_internal_setup_paths_status
macro( __tde_internal_setup_paths_status __path __value __method )
@@ -46,7 +34,7 @@ macro( __tde_internal_setup_path __path __default )
RESULT_VARIABLE __result
OUTPUT_STRIP_TRAILING_WHITESPACE )
if( __result )
- __tde_internal_setup_paths_error( "Unable to run kde-config!\n kdelibs are correctly installed?\n LD_LIBRARY_PATH are correctly set?" )
+ tde_message_fatal( "Unable to run kde-config!\n kdelibs are correctly installed?\n LD_LIBRARY_PATH are correctly set?" )
endif( __result )
endif( _use_kdeconfig AND __kdeconfig_type )
if( ${__path} )
@@ -97,7 +85,7 @@ macro( tde_setup_paths )
HINTS $ENV{KDEDIR}/bin
PATHS "${EPREFIX}/bin" "${PREFIX}/bin" "${CMAKE_INSTALL_PREFIX}/bin" )
if( NOT KDECONFIG_EXECUTABLE )
- __tde_internal_setup_paths_error(
+ tde_message_fatal(
"kde-config executable are NOT found!
kdelibs(-devel) are installed? EPREFIX are correctly set?