From: Ole Streicher <olebole@debian.org>
Date: Fri, 28 Feb 2020 14:38:56 +0100
Subject: Install libaoflagger.so into multi-arch path

Closes: #962390
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 20b750f..608829b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -399,7 +399,7 @@ target_link_libraries(aoflagger-lib ${ALL_LIBRARIES})
 # cmake --install <build directory> --component core_library
 install(
   TARGETS aoflagger-lib
-  DESTINATION lib
+  DESTINATION lib/${DEB_BUILD_MULTIARCH}
   COMPONENT core_library)
 
 add_executable(aoquality applications/aoquality.cpp)
