From f2fc866cc4431f94d556b36ce8f2f82c4e316eb0 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Fri, 24 Jan 2014 13:42:45 +0100 Subject: [PATCH] Set the library and bin install path to cmake standard path. --- cmake/modules/DefineInstallationPaths.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/DefineInstallationPaths.cmake b/cmake/modules/DefineInstallationPaths.cmake index 3111406bfa..c9bcd12d79 100644 --- a/cmake/modules/DefineInstallationPaths.cmake +++ b/cmake/modules/DefineInstallationPaths.cmake @@ -18,7 +18,7 @@ if (UNIX) # The following are directories where stuff will be installed to SET(BIN_INSTALL_DIR - "${EXEC_INSTALL_PREFIX}/bin" + "${CMAKE_INSTALL_BINDIR}" CACHE PATH "The ${APPLICATION_SHORT_NAME} binary install dir (default prefix/bin)" ) SET(SBIN_INSTALL_DIR @@ -26,7 +26,7 @@ if (UNIX) CACHE PATH "The ${APPLICATION_SHORT_NAME} sbin install dir (default prefix/sbin)" ) SET(LIB_INSTALL_DIR - "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}" + "${CMAKE_INSTALL_LIBDIR}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is prefix/lib)" ) SET(LIBEXEC_INSTALL_DIR