diff options
Diffstat (limited to 'cmakemodules/FindKdeLibs.cmake')
-rw-r--r-- | cmakemodules/FindKdeLibs.cmake | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/cmakemodules/FindKdeLibs.cmake b/cmakemodules/FindKdeLibs.cmake index 5cdfad5..865f582 100644 --- a/cmakemodules/FindKdeLibs.cmake +++ b/cmakemodules/FindKdeLibs.cmake @@ -99,10 +99,10 @@ FIND_PROGRAM(KDECONFIG_EXECUTABLE NAMES kde-config HINTS $ENV{KDEDIR}/bin PATHS - /opt/kde3/bin + /opt/trinity/bin /opt/trinity/bin /opt/kde/bin - /usr/kde3/bin + /usr/trinity/bin ) SET(KDE3PREFIX) @@ -128,7 +128,7 @@ FIND_PATH(KDE3_INCLUDE_DIR kpassdlg.h $ENV{KDEDIR}/include ${KDE3PREFIX}/include PATHS - /opt/kde3/include + /opt/trinity/include /opt/trinity/include /opt/kde/include /usr/include/kde @@ -144,10 +144,10 @@ FIND_LIBRARY(KDE3_KDECORE_LIBRARY NAMES kdecore $ENV{KDEDIR}/lib ${KDE3PREFIX}/lib PATHS - /opt/kde3/lib + /opt/trinity/lib /opt/trinity/lib /opt/kde/lib - /usr/kde3/lib + /usr/trinity/lib ) SET(QT_AND_KDECORE_LIBS ${QT_LIBRARIES} ${KDE3_KDECORE_LIBRARY}) @@ -156,9 +156,9 @@ GET_FILENAME_COMPONENT(KDE3_LIB_DIR ${KDE3_KDECORE_LIBRARY} PATH ) IF(NOT KDE3_LIBTOOL_DIR) IF(KDE3_KDECORE_LIBRARY MATCHES lib64) - SET(KDE3_LIBTOOL_DIR /lib64/kde3) + SET(KDE3_LIBTOOL_DIR /lib64/trinity) ELSE(KDE3_KDECORE_LIBRARY MATCHES lib64) - SET(KDE3_LIBTOOL_DIR /lib/kde3) + SET(KDE3_LIBTOOL_DIR /lib/trinity) ENDIF(KDE3_KDECORE_LIBRARY MATCHES lib64) ENDIF(NOT KDE3_LIBTOOL_DIR) @@ -168,10 +168,10 @@ FIND_PROGRAM(KDE3_DCOPIDL_EXECUTABLE NAMES dcopidl $ENV{KDEDIR}/bin ${KDE3PREFIX}/bin PATHS - /opt/kde3/bin + /opt/trinity/bin /opt/trinity/bin /opt/kde/bin - /usr/kde3/bin + /usr/trinity/bin ) FIND_PROGRAM(KDE3_DCOPIDL2CPP_EXECUTABLE NAMES dcopidl2cpp @@ -179,10 +179,10 @@ FIND_PROGRAM(KDE3_DCOPIDL2CPP_EXECUTABLE NAMES dcopidl2cpp $ENV{KDEDIR}/bin ${KDE3PREFIX}/bin PATHS - /opt/kde3/bin + /opt/trinity/bin /opt/trinity/bin /opt/kde/bin - /usr/kde3/bin + /usr/trinity/bin ) FIND_PROGRAM(KDE3_KCFGC_EXECUTABLE NAMES kconfig_compiler @@ -190,10 +190,10 @@ FIND_PROGRAM(KDE3_KCFGC_EXECUTABLE NAMES kconfig_compiler $ENV{KDEDIR}/bin ${KDE3PREFIX}/bin PATHS - /opt/kde3/bin + /opt/trinity/bin /opt/trinity/bin /opt/kde/bin - /usr/kde3/bin + /usr/trinity/bin ) @@ -312,18 +312,18 @@ set(LIB_SUFFIX ${DEF_SUFF} CACHE STRING "Define suffix of directory name (32/64) SET(LIB_SEARCH_PATHES ${KDE3_LIB_DIR} $ENV{KDEDIR}/lib /opt/kde/lib - /opt/kde3/lib + /opt/trinity/lib /opt/trinity/lib /usr/lib /usr/local/lib - /usr/kde3/lib + /usr/trinity/lib ) IF (LIB_SUFFIX) SET(LIB_SEARCH_PATHES $ENV{KDEDIR}/lib${LIB_SUFFIX} /opt/kde/lib${LIB_SUFFIX} - /opt/kde3/lib${LIB_SUFFIX} + /opt/trinity/lib${LIB_SUFFIX} /opt/trinity/lib${LIB_SUFFIX} /usr/lib${LIB_SUFFIX} /usr/local/lib${LIB_SUFFIX} @@ -363,9 +363,9 @@ FIND_LIBRARY(KDE3_KINIT_KDED_LIBRARY NAMES kdeinit_kded FIND_PROGRAM(KDE3_KDECONFIG_EXECUTABLE NAME kde-config PATHS $ENV{KDEDIR}/bin /opt/kde/bin - /opt/kde3/bin /opt/trinity/bin - /usr/kde3/bin + /opt/trinity/bin + /usr/trinity/bin ) FIND_PROGRAM(MSGFMT @@ -378,9 +378,9 @@ FIND_PROGRAM(KDE3_MEINPROC_EXECUTABLE NAME meinproc PATHS ${KDE3_BIN_INSTALL_DIR} $ENV{KDEDIR}/bin /opt/kde/bin - /opt/kde3/bin /opt/trinity/bin - /usr/kde3/bin + /opt/trinity/bin + /usr/trinity/bin ) IF(KDE3_MEINPROC_EXECUTABLE) @@ -412,8 +412,8 @@ set(EXEC_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} CACHE PATH "Base directo set(BIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/bin" CACHE PATH "The kde bin install dir (default prefix/bin)" FORCE) set(SBIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/sbin" CACHE PATH "The kde sbin install dir (default prefix/sbin)" FORCE) set(LIB_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE) -set(LIBEXEC_INSTALL_DIR "${LIB_INSTALL_DIR}/kde3/libexec" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib/kde3/libexec)" FORCE) -set(PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}/kde3" CACHE PATH "The subdirectory relative to the install prefix where plugins will be installed (default is ${LIB_INSTALL_DIR}/kde3)" FORCE) +set(LIBEXEC_INSTALL_DIR "${LIB_INSTALL_DIR}/trinity/libexec" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib/trinity/libexec)" FORCE) +set(PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}/trinity" CACHE PATH "The subdirectory relative to the install prefix where plugins will be installed (default is ${LIB_INSTALL_DIR}/trinity)" FORCE) set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "The subdirectory to the header prefix" FORCE) set(CONFIG_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/config" CACHE PATH "The config file install dir" FORCE) set(DATA_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/apps" CACHE PATH "The parent directory where applications can install their data" FORCE) |