diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-10 18:47:12 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-10 18:47:12 +0200 |
commit | 8967162dd12bce89f9ae27f5c9bce7b78624e3fd (patch) | |
tree | e8e51fa734addd864f1a394ba74e176b2831212a /cmake/cmake.d/01-variables.cmake | |
parent | 10bc75777dc03d19c12159e733756b23b18e6d4c (diff) |
Fix: make install double files in build dir.
Default install prefix to /usr/local then.
Change-Id: I6c53e3055a3a9f7d44d24480695014b1c9a435ae
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d/01-variables.cmake')
-rw-r--r-- | cmake/cmake.d/01-variables.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
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") |