File tree 1 file changed +8
-0
lines changed
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)
133
133
set (SlicerExecutionModel_DEFAULT_CLI_INSTALL_ARCHIVE_DESTINATION lib)
134
134
endif ()
135
135
136
+
137
+ if (NOT DEFINED SlicerExecutionModel_SHARE_DESTINATION)
138
+ set (SlicerExecutionModel_SHARE_DESTINATION share)
139
+ endif ()
140
+
136
141
#-----------------------------------------------------------------------------
137
142
# Define default "cli library wrapper" used by SEMMacroBuildCLI.cmake
138
143
#-----------------------------------------------------------------------------
@@ -224,4 +229,7 @@ foreach(SCRIPT ${allscripts})
224
229
get_filename_component (_fileName ${SCRIPT} NAME )
225
230
configure_file (${SCRIPT}
226
231
${CMAKE_CURRENT_BINARY_DIR} /CMake/${_fileName} COPYONLY IMMEDIATE)
232
+ install (FILES ${SCRIPT} DESTINATION ${SlicerExecutionModel_SHARE_DESTINATION}
233
+ COMPONENT Development
234
+ )
227
235
endforeach ()
You can’t perform that action at this time.
0 commit comments