diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-05 18:42:53 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-10 17:12:30 +0200 |
commit | 90e56dd22eba15bf71e3e0042080c2213ae39920 (patch) | |
tree | 889d89bd0f751832eb6e5fc9211d17a5221c74cc /conf.d/cmake/config.cmake | |
parent | 179196fc65315bf9e8cade8137e9786e2e0b0fed (diff) |
Files reorganization and rename project to AFT
Change-Id: I2e4adc51bdf5fcb9001c68fb4fc71f4987da47e0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/cmake/config.cmake')
-rw-r--r-- | conf.d/cmake/config.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake index f26476b..f3850df 100644 --- a/conf.d/cmake/config.cmake +++ b/conf.d/cmake/config.cmake @@ -76,7 +76,13 @@ set (PKG_REQUIRED_LIST # Prefix path where will be installed the files # Default: /usr/local (need root permission to write in) # ------------------------------------------------------ -set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt) +execute_process( + COMMAND pkg-config --variable binding_install_dir afb-daemon + OUTPUT_VARIABLE afb_binding_install_dir + OUTPUT_STRIP_TRAILING_WHITESPACE +) + +set(CMAKE_INSTALL_PREFIX ${afb_binding_install_dir}) # Customize link option # ----------------------------- |