|
|
@ -24,7 +24,7 @@ ADD_CUSTOM_TARGET(uninstall
|
|
|
|
# Disallow in-source build
|
|
|
|
# Disallow in-source build
|
|
|
|
STRING(COMPARE EQUAL "${kpilot_SOURCE_DIR}" "${kpilot_BINARY_DIR}" insource)
|
|
|
|
STRING(COMPARE EQUAL "${kpilot_SOURCE_DIR}" "${kpilot_BINARY_DIR}" insource)
|
|
|
|
if(insource)
|
|
|
|
if(insource)
|
|
|
|
MESSAGE(FATAL_ERROR
|
|
|
|
MESSAGE(FATAL_ERROR
|
|
|
|
"KPilot requires an out of source build. Please create a separate build
|
|
|
|
"KPilot requires an out of source build. Please create a separate build
|
|
|
|
directory and run 'cmake path_to_kpilot [options]' there."
|
|
|
|
directory and run 'cmake path_to_kpilot [options]' there."
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -66,7 +66,7 @@ endif(NOT CMAKE_INSTALL_PREFIX)
|
|
|
|
set(KDE3_KCFG_DIR ${CMAKE_INSTALL_PREFIX}/share/config.kcfg)
|
|
|
|
set(KDE3_KCFG_DIR ${CMAKE_INSTALL_PREFIX}/share/config.kcfg)
|
|
|
|
set(KDE3_SERVICETYPES_DIR ${CMAKE_INSTALL_PREFIX}/share/servicetypes)
|
|
|
|
set(KDE3_SERVICETYPES_DIR ${CMAKE_INSTALL_PREFIX}/share/servicetypes)
|
|
|
|
set(KDE3_SERVICES_DIR ${CMAKE_INSTALL_PREFIX}/share/services)
|
|
|
|
set(KDE3_SERVICES_DIR ${CMAKE_INSTALL_PREFIX}/share/services)
|
|
|
|
set(KDE3_XDG_APPS_DIR ${CMAKE_INSTALL_PREFIX}/share/applications/kde)
|
|
|
|
set(KDE3_XDG_APPS_DIR ${CMAKE_INSTALL_PREFIX}/share/applications/tde)
|
|
|
|
set(KDE3_LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib)
|
|
|
|
set(KDE3_LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib)
|
|
|
|
set(KDE3_PLUGIN_INSTALL_DIR ${KDE3_LIB_INSTALL_DIR}/trinity)
|
|
|
|
set(KDE3_PLUGIN_INSTALL_DIR ${KDE3_LIB_INSTALL_DIR}/trinity)
|
|
|
|
|
|
|
|
|
|
|
|