Skip to content

Commit

Permalink
Do not install plugins in CMAKE_INSTALL_LIBDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Aug 22, 2024
1 parent e1017e3 commit c2d7052
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmake/DD4hepBuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit c2d7052

Please sign in to comment.