diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-10 18:47:12 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | f0fcb00c0d7d1276d272c0fb1ee02e505e8ba0b1 (patch) | |
tree | 2f2d8c25a51afb6703a3ec824ce45c2936aa6d91 /cmake/cmake.d/01-variables.cmake | |
parent | 1e590c847bf7e6740461a59b10c405c3fbe99ba1 (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") |