aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndreas Pakulat <apaku@gmx.de>2007-05-17 22:00:01 +0000
committerAndreas Pakulat <apaku@gmx.de>2007-05-17 22:00:01 +0000
commitaa6407716993e23104c6eba2f481db49a2833188 (patch)
treed6f484535430bc59a118e61c8063a0572dc39461 /modules
parent7fe12f80f5cd3df56073a977790dc5507003cfd3 (diff)
downloadextra-cmake-modules-aa6407716993e23104c6eba2f481db49a2833188.tar.gz
extra-cmake-modules-aa6407716993e23104c6eba2f481db49a2833188.tar.bz2
revert my change for win32 libexec and instead point LIBEXEC_INSTALL_DIR to BIN_INSTALL_DIR on win32
svn path=/trunk/KDE/kdelibs/; revision=665787
Diffstat (limited to 'modules')
-rw-r--r--modules/FindKDE4Internal.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index d94e3ca6..9f63effe 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -258,7 +258,11 @@ _set_fancy(BIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/bin" "The
_set_fancy(SBIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/sbin" "The install dir for system executables (default ${EXEC_INSTALL_PREFIX}/sbin)")
_set_fancy(LIB_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}" "The subdirectory relative to the install prefix where libraries will be installed (default is ${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX})")
+if(WIN32)
+_set_fancy(LIBEXEC_INSTALL_DIR "${BIN_INSTALL_DIR}" "The subdirectory relative to the install prefix where libraries will be installed (default is ${BIN_INSTALL_DIR})")
+else(WIN32)
_set_fancy(LIBEXEC_INSTALL_DIR "${LIB_INSTALL_DIR}/kde4/libexec" "The subdirectory relative to the install prefix where libraries will be installed (default is ${LIB_INSTALL_DIR}/kde4/libexec)")
+endif(WIN32)
_set_fancy(PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}/kde4" "The subdirectory relative to the install prefix where plugins will be installed (default is ${LIB_INSTALL_DIR}/kde4)")
_set_fancy(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" "The subdirectory to the header prefix")