diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-04-30 10:00:35 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-04-30 10:00:35 +0200 |
commit | d0d4dcd0460e3ef93c20661c603dd24353a0d127 (patch) | |
tree | 73021ed967850e569b8176ca2cdac1b08833230a /src/CMakeLists.txt | |
parent | b4ca569c08a233114fb77106a8b4aa34d47ab54c (diff) |
Allow setting of libexec location
The location of the framework binding could not
be tuned but is fixed.
The default location is good but it is important
to be able to tune that location. This at least
has the good effect that the location is set at
one point in the build system instead of at multiple
points as today.
Bug-AGL: SPEC-2367
Change-Id: Ib06fdff56d1828eacd0d1f82c2e1308d0b36fa5e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 79da722..8f081ee 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -180,7 +180,7 @@ if(libsystemd_FOUND AND AFB_FOUND) PREFIX "" LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/afm-binding.export-map" ) - install(TARGETS afm-binding LIBRARY DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/afm) + install(TARGETS afm-binding LIBRARY DESTINATION ${afm_libexecdir}) add_executable(afm-user-session afm-user-session.c) install(TARGETS afm-user-session DESTINATION ${CMAKE_INSTALL_BINDIR} |