Default install prefix to /usr/local then.
Change-Id: I6c53e3055a3a9f7d44d24480695014b1c9a435ae
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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")
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")