From: Romain Forlot Date: Thu, 10 Aug 2017 16:47:12 +0000 (+0200) Subject: Fix: make install double files in build dir. X-Git-Tag: 4.99.1~62 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=8967162dd12bce89f9ae27f5c9bce7b78624e3fd;p=staging%2Fxdg-launcher.git Fix: make install double files in build dir. Default install prefix to /usr/local then. Change-Id: I6c53e3055a3a9f7d44d24480695014b1c9a435ae Signed-off-by: Romain Forlot --- diff --git a/cmake/cmake.d/01-variables.cmake b/cmake/cmake.d/01-variables.cmake index a06c537..5118b57 100644 --- a/cmake/cmake.d/01-variables.cmake +++ b/cmake/cmake.d/01-variables.cmake @@ -102,7 +102,7 @@ set(AFB_REMPORT "1234" CACHE PATH "Default AFB_TOKEN") if(BINDINGS_INSTALL_PREFIX) set(BINDINGS_INSTALL_DIR ${BINDINGS_INSTALL_PREFIX}/${PROJECT_NAME} CACHE PATH "Where the binding will be installed in your system") else() - set(BINDINGS_INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME} CACHE PATH "Where the binding will be installed in your system") + set(BINDINGS_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME} CACHE PATH "Where the binding will be installed in your system") endif() set(PKGOUT_DIR package CACHE PATH "Output directory for packages") @@ -149,4 +149,4 @@ if(OSRELEASE MATCHES "debian" AND NOT DEFINED ENV{SDKTARGETSYSROOT} AND NOT DEFI endif() # Break After Binding are loaded but before they get initialised -set(GDB_INITIAL_BREAK "personality" CACHE STRING "Initial Break Point for GDB remote") \ No newline at end of file +set(GDB_INITIAL_BREAK "personality" CACHE STRING "Initial Break Point for GDB remote")