fix install locations for Raytracing and Start module
This commit is contained in:
@@ -48,6 +48,6 @@ INSTALL(
|
||||
FILES
|
||||
${Raytracing_Templates}
|
||||
DESTINATION
|
||||
${CMAKE_INSTALL_DATADIR}/Mod/Raytracing
|
||||
${CMAKE_INSTALL_DATADIR}/Mod/Raytracing/Templates
|
||||
)
|
||||
|
||||
|
||||
@@ -5,30 +5,6 @@ set(Start_Scripts
|
||||
)
|
||||
|
||||
if(BUILD_GUI)
|
||||
SET(StartPage_Scripts
|
||||
StartPage.py
|
||||
TranslationTexts.py
|
||||
__init__.py
|
||||
)
|
||||
|
||||
SET(StartPage_Resources
|
||||
LoadMRU.py
|
||||
LoadExample.py
|
||||
LoadNew.py
|
||||
LoadCustom.py
|
||||
StartPage.css
|
||||
StartPage.js
|
||||
StartPage.html
|
||||
EnableDownload.py
|
||||
images/userhub.png
|
||||
images/poweruserhub.png
|
||||
images/developerhub.png
|
||||
images/manual.png
|
||||
images/freecad.png
|
||||
images/installed.png
|
||||
images/new_file_thumbnail.svg
|
||||
)
|
||||
|
||||
list(APPEND Start_Scripts InitGui.py)
|
||||
|
||||
add_subdirectory(Gui)
|
||||
|
||||
@@ -1,4 +1,36 @@
|
||||
|
||||
SET(StartPage_Scripts
|
||||
StartPage.py
|
||||
TranslationTexts.py
|
||||
__init__.py
|
||||
)
|
||||
|
||||
SET(StartPage_PythonResources
|
||||
LoadMRU.py
|
||||
LoadExample.py
|
||||
LoadNew.py
|
||||
LoadCustom.py
|
||||
StartPage.css
|
||||
StartPage.js
|
||||
StartPage.html
|
||||
EnableDownload.py
|
||||
)
|
||||
|
||||
SET(StartPage_ImageResources
|
||||
images/userhub.png
|
||||
images/poweruserhub.png
|
||||
images/developerhub.png
|
||||
images/manual.png
|
||||
images/freecad.png
|
||||
images/installed.png
|
||||
images/new_file_thumbnail.svg
|
||||
)
|
||||
|
||||
SET(StartPage_Resources
|
||||
${StartPage_PythonResources}
|
||||
${StartPage_ImageResources}
|
||||
)
|
||||
|
||||
add_custom_target(StartPage ALL
|
||||
SOURCES ${StartPage_Scripts} ${StartPage_Resources}
|
||||
)
|
||||
@@ -17,7 +49,11 @@ INSTALL(FILES ${StartPage_Scripts}
|
||||
DESTINATION Mod/Start/StartPage
|
||||
)
|
||||
|
||||
INSTALL(FILES ${StartPage_Resources}
|
||||
INSTALL(FILES ${StartPage_PythonResources}
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/Mod/Start/StartPage
|
||||
)
|
||||
|
||||
INSTALL(FILES ${StartPage_ImageResources}
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/Mod/Start/StartPage/images
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user