From c2d70529e2d2ab53ff50897df7a3d04a4dca5b41 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Thu, 22 Aug 2024 23:32:33 +0200 Subject: [PATCH] Do not install plugins in CMAKE_INSTALL_LIBDIR --- cmake/DD4hepBuild.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmake/DD4hepBuild.cmake b/cmake/DD4hepBuild.cmake index d28959a48..2f9dc4c56 100644 --- a/cmake/DD4hepBuild.cmake +++ b/cmake/DD4hepBuild.cmake @@ -676,9 +676,6 @@ function(dd4hep_add_plugin binary) ENDIF() if(NOT ${ARG_NOINSTALL}) set(install_destination "lib") - if(CMAKE_INSTALL_LIBDIR) - set(install_destination ${CMAKE_INSTALL_LIBDIR}) - endif() install(TARGETS ${binary} ARCHIVE DESTINATION ${install_destination} LIBRARY DESTINATION ${install_destination}