| 1 |
SET(PreferencePacks_Files |
| 2 |
"package.xml" |
| 3 |
) |
| 4 |
|
| 5 |
SET(PreferencePacks_Directories |
| 6 |
"FreeCAD Classic" |
| 7 |
"Dark behave" |
| 8 |
"FreeCAD Light" |
| 9 |
"FreeCAD Dark" |
| 10 |
) |
| 11 |
|
| 12 |
ADD_CUSTOM_TARGET(PreferencePacks_data ALL |
| 13 |
SOURCES ${PreferencePacks_Files} ${PreferencePacks_Directories} |
| 14 |
) |
| 15 |
|
| 16 |
FILE(COPY ${PreferencePacks_Files} ${PreferencePacks_Directories} DESTINATION "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Gui/PreferencePacks") |
| 17 |
|
| 18 |
fc_copy_sources(PreferencePacks_data "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Gui/PreferencePacks" |
| 19 |
${PreferencePacks_Files} |
| 20 |
${PreferencePacks_Directories}) |
| 21 |
|
| 22 |
INSTALL( |
| 23 |
FILES |
| 24 |
${PreferencePacks_Files} |
| 25 |
DESTINATION |
| 26 |
${CMAKE_INSTALL_DATADIR}/Gui/PreferencePacks |
| 27 |
) |
| 28 |
|
| 29 |
INSTALL( |
| 30 |
DIRECTORY |
| 31 |
${PreferencePacks_Directories} |
| 32 |
DESTINATION |
| 33 |
${CMAKE_INSTALL_DATADIR}/Gui/PreferencePacks |
| 34 |
) |