File tree Expand file tree Collapse file tree 5 files changed +19
-4
lines changed
Expand file tree Collapse file tree 5 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -31,3 +31,18 @@ install(
3131 COMPONENT bin
3232 )
3333
34+
35+ file (
36+ COPY
37+ template.yml
38+ DESTINATION
39+ ${CMAKE_BINARY_DIR} /${CMAKE_INSTALL_DATADIR}
40+ )
41+
42+ install (
43+ FILES
44+ ${CMAKE_BINARY_DIR} /${CMAKE_INSTALL_DATADIR} /template.yml
45+ DESTINATION
46+ ${CMAKE_INSTALL_PREFIX} /${CMAKE_INSTALL_DATADIR}
47+ )
48+
Original file line number Diff line number Diff line change 11execute_process (
22 COMMAND
33 cmake -E create_symlink
4- "${PROJECT_SOURCE_DIR} /src /template.yml" # Old name
4+ "${CMAKE_BINARY_DIR} / ${CMAKE_INSTALL_DATADIR} /template.yml" # Old name
55 "${CMAKE_CURRENT_BINARY_DIR} /template.yml" # New name
66 )
77
Original file line number Diff line number Diff line change 11execute_process (
22 COMMAND
33 cmake -E create_symlink
4- "${PROJECT_SOURCE_DIR} /src /template.yml" # Old name
4+ "${CMAKE_BINARY_DIR} / ${CMAKE_INSTALL_DATADIR} /template.yml" # Old name
55 "${CMAKE_CURRENT_BINARY_DIR} /template.yml" # New name
66 )
77
Original file line number Diff line number Diff line change 11execute_process (
22 COMMAND
33 cmake -E create_symlink
4- "${PROJECT_SOURCE_DIR} /src /template.yml" # Old name
4+ "${CMAKE_BINARY_DIR} / ${CMAKE_INSTALL_DATADIR} /template.yml" # Old name
55 "${CMAKE_CURRENT_BINARY_DIR} /template.yml" # New name
66 )
77
Original file line number Diff line number Diff line change 11execute_process (
22 COMMAND
33 cmake -E create_symlink
4- "${PROJECT_SOURCE_DIR} /src /template.yml" # Old name
4+ "${CMAKE_BINARY_DIR} / ${CMAKE_INSTALL_DATADIR} /template.yml" # Old name
55 "${CMAKE_CURRENT_BINARY_DIR} /template.yml" # New name
66 )
77
You can’t perform that action at this time.
0 commit comments