Skip to content
Snippets Groups Projects
Commit 9b043706 authored by Andre Sailer's avatar Andre Sailer
Browse files

Only install dd_sim if it gets compiled

parent d2259d31
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ if(DD4HEP_USE_GEANT4) ...@@ -27,6 +27,7 @@ if(DD4HEP_USE_GEANT4)
add_executable( dd_sim src/ddsim.cpp) add_executable( dd_sim src/ddsim.cpp)
target_link_libraries(dd_sim DD4hepCore DD4hepG4) target_link_libraries(dd_sim DD4hepCore DD4hepG4)
install(TARGETS dd_sim RUNTIME DESTINATION bin )
endif() endif()
#----------------------------------------------------------------------------------- #-----------------------------------------------------------------------------------
...@@ -44,7 +45,7 @@ target_link_libraries( teveDisplay DD4hepCore ${ROOT_EVE_LIBRARIES} DD4hepRec ${ ...@@ -44,7 +45,7 @@ target_link_libraries( teveDisplay DD4hepCore ${ROOT_EVE_LIBRARIES} DD4hepRec ${
#--- install target------------------------------------- #--- install target-------------------------------------
install(TARGETS geoDisplay geoConverter geoPluginRun teveDisplay print_materials dd_sim install(TARGETS geoDisplay geoConverter geoPluginRun teveDisplay print_materials
RUNTIME DESTINATION bin RUNTIME DESTINATION bin
LIBRARY DESTINATION lib LIBRARY DESTINATION lib
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment