diff --git a/UtilityApps/CMakeLists.txt b/UtilityApps/CMakeLists.txt index 5520886f22a2aa68fc3fa8c5390529ec34622b5b..59ce2f29b09230327153b61f8a53b09febcb67c0 100644 --- a/UtilityApps/CMakeLists.txt +++ b/UtilityApps/CMakeLists.txt @@ -27,6 +27,7 @@ if(DD4HEP_USE_GEANT4) add_executable( dd_sim src/ddsim.cpp) target_link_libraries(dd_sim DD4hepCore DD4hepG4) + install(TARGETS dd_sim RUNTIME DESTINATION bin ) endif() #----------------------------------------------------------------------------------- @@ -44,7 +45,7 @@ target_link_libraries( teveDisplay DD4hepCore ${ROOT_EVE_LIBRARIES} DD4hepRec ${ #--- install target------------------------------------- -install(TARGETS geoDisplay geoConverter geoPluginRun teveDisplay print_materials dd_sim +install(TARGETS geoDisplay geoConverter geoPluginRun teveDisplay print_materials RUNTIME DESTINATION bin LIBRARY DESTINATION lib )