Skip to content

Commit

Permalink
STYLE: Install tools to ExternalBin when building Extension
Browse files Browse the repository at this point in the history
  • Loading branch information
juanprietob committed Oct 31, 2018
1 parent 9ee9e65 commit dc3fd36
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions DTIAtlasBuilder.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,23 @@ endif()

if(AtlasWerks_DIR)

install(PROGRAMS ${AtlasWerks_DIR}/bin/GreedyAtlas
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/../ExternalBin
if( DTIAtlasBuilder_BUILD_SLICER_EXTENSION )
install(PROGRAMS ${AtlasWerks_DIR}/bin/GreedyAtlas
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/../ExternalBin
COMPONENT RUNTIME)

install(PROGRAMS ${AtlasWerks_DIR}/bin/GreedyWarp
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/../ExternalBin
COMPONENT RUNTIME)
else()
install(PROGRAMS ${AtlasWerks_DIR}/bin/GreedyAtlas
DESTINATION ${INSTALL_RUNTIME_DESTINATION}
COMPONENT RUNTIME)

install(PROGRAMS ${AtlasWerks_DIR}/bin/GreedyWarp
DESTINATION ${INSTALL_RUNTIME_DESTINATION}/../ExternalBin
COMPONENT RUNTIME)


install(PROGRAMS ${AtlasWerks_DIR}/bin/GreedyWarp
DESTINATION ${INSTALL_RUNTIME_DESTINATION}
COMPONENT RUNTIME)
endif()
endif()

if( DTIAtlasBuilder_BUILD_SLICER_EXTENSION )
Expand Down

0 comments on commit dc3fd36

Please sign in to comment.