From d00bfe9410cfcaeb247ba68a88144defb5184ac9 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Tue, 30 Apr 2019 22:18:08 +0200 Subject: Allow to tune installation directories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The location of intrinsic bindings and samples could not be tuned but was fixed to be ${CMAKE_INSTALL_FULL_LIBDIR}/afb and ${CMAKE_INSTALL_FULL_DATADIR}/af-binder These default locations are not bad but it is important to be able to tune that location. Bug-AGL: SPEC-2367 Change-Id: I4d4f9e9490d61e3278ef35ac42f2143a752a7c37 Signed-off-by: José Bollo --- bindings/tutorials/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings/tutorials') diff --git a/bindings/tutorials/CMakeLists.txt b/bindings/tutorials/CMakeLists.txt index e071d7a9..a3c87c55 100644 --- a/bindings/tutorials/CMakeLists.txt +++ b/bindings/tutorials/CMakeLists.txt @@ -24,7 +24,7 @@ MACRO(tuto num ext) LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export.map" ) TARGET_LINK_LIBRARIES(tuto-${num} ${json-c_LDFLAGS}) - install(TARGETS tuto-${num} LIBRARY DESTINATION ${install_datadir}/bindings/tutorials) + install(TARGETS tuto-${num} LIBRARY DESTINATION ${SAMPLE_INSTALL_DIR}/bindings/tutorials) ENDMACRO(tuto) -- cgit 1.2.3-korg