File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,11 @@ if(NOT DEFINED SlicerExecutionModel_DEFAULT_CLI_INSTALL_ARCHIVE_DESTINATION)
133133 set (SlicerExecutionModel_DEFAULT_CLI_INSTALL_ARCHIVE_DESTINATION lib)
134134endif ()
135135
136+
137+ if (NOT DEFINED SlicerExecutionModel_SHARE_DESTINATION)
138+ set (SlicerExecutionModel_SHARE_DESTINATION share)
139+ endif ()
140+
136141#-----------------------------------------------------------------------------
137142# Define default "cli library wrapper" used by SEMMacroBuildCLI.cmake
138143#-----------------------------------------------------------------------------
@@ -224,4 +229,7 @@ foreach(SCRIPT ${allscripts})
224229 get_filename_component (_fileName ${SCRIPT} NAME )
225230 configure_file (${SCRIPT}
226231 ${CMAKE_CURRENT_BINARY_DIR} /CMake/${_fileName} COPYONLY IMMEDIATE)
232+ install (FILES ${SCRIPT} DESTINATION ${SlicerExecutionModel_SHARE_DESTINATION}
233+ COMPONENT Development
234+ )
227235endforeach ()
You can’t perform that action at this time.
0 commit comments