From 2a99a459834409d8016026cbf205db3d366abf29 Mon Sep 17 00:00:00 2001 From: Francois Keith <keith@lirmm.fr> Date: Thu, 23 May 2013 00:46:44 +0200 Subject: [PATCH] Update lib installation path (multiarch portability). --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ad84af5..71660a05 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ GENERATE_CONFIGURATION_HEADER( # FIXME: to be changed into lib/dynamic-graph # to avoid name collision when installing dynamic-graph in /usr. -SET(PLUGINDIR "lib/plugin") +SET(PLUGINDIR "${CMAKE_INSTALL_LIBDIR}/plugin") # Add extra keys to pkg-config file to export the location of the # plug-in directory in a robust manner. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c912f908..de7b7f88 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -63,7 +63,7 @@ IF (UNIX AND NOT APPLE) ENDIF (UNIX AND NOT APPLE) INSTALL(TARGETS ${LIBRARY_NAME} - DESTINATION lib) + DESTINATION ${CMAKE_INSTALL_LIBDIR}) #################################### ### Plugins -- GitLab