Fix: make install double files in build dir.
[staging/xdg-launcher.git] / cmake / cmake.d / 01-variables.cmake
index a06c537..5118b57 100644 (file)
@@ -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")