Skip to content

Commit

Permalink
Remove CMAKE_INSTALL_LIBDIR also in cmake/DD4hep.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Aug 23, 2024
1 parent 6bf44a8 commit 8f56cda
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmake/DD4hep.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,7 @@ function(dd4hep_generate_rootmap library)
)

add_custom_target(Components_${library} ALL DEPENDS ${rootmapfile})
SET( install_destination "lib" )
if( CMAKE_INSTALL_LIBDIR )
SET( install_destination ${CMAKE_INSTALL_LIBDIR} )
endif()
install(FILES $<TARGET_FILE_DIR:${library}>/${rootmapfile}
DESTINATION ${install_destination}
DESTINATION lib
)
endfunction()

0 comments on commit 8f56cda

Please sign in to comment.