Description: Fix search path of shared libraries in Python module
 The installation path has changed in version 8.2 with the move to
 GNUInstallDirs in CMake, but the Python module has not been updated
 accordingly.
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: https://github.com/ORNL/TASMANIAN/pull/796
Applied-Upstream: https://github.com/ORNL/TASMANIAN/commit/6d14529ce66484e7cb1bcada2473ee9d71550a39
Last-Update: 2025-12-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/InterfacePython/CMakeLists.txt
+++ b/InterfacePython/CMakeLists.txt
@@ -111,7 +111,7 @@ add_custom_target(Tasmanian_python_testi
 ########################################################################
 # Stage 2: Install folder paths
 ########################################################################
-set(Tasmanian_shared_lib_destination "lib")
+set(Tasmanian_shared_lib_destination "${CMAKE_INSTALL_LIBDIR}")
 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") # windows puts the .dll files in bin, as opposed to lib
     set(Tasmanian_shared_lib_destination "bin")
 endif()
