Skip to content

Commit 8d82e1a

Browse files
committed
WIP
1 parent 21714b9 commit 8d82e1a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CMakeLists.txt

+8
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ if(NOT DEFINED SlicerExecutionModel_DEFAULT_CLI_INSTALL_ARCHIVE_DESTINATION)
133133
set(SlicerExecutionModel_DEFAULT_CLI_INSTALL_ARCHIVE_DESTINATION lib)
134134
endif()
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+
)
227235
endforeach()

0 commit comments

Comments
 (0)