Clean up shaders on package and no longer final-package by default on Linux
This commit is contained in:
@@ -1434,13 +1434,7 @@ if (!DISABLE_TEMPLATE_CHECK)
|
||||
check_message_template(${VIEWER_BINARY_NAME})
|
||||
endif (!DISABLE_TEMPLATE_CHECK)
|
||||
|
||||
# We package by default on Linux so we can run from newview/packaged.
|
||||
if (LINUX)
|
||||
set(PACKAGE_DEFAULT ON)
|
||||
else (LINUX)
|
||||
set(PACKAGE_DEFAULT OFF)
|
||||
endif (LINUX)
|
||||
set(PACKAGE ${PACKAGE_DEFAULT} CACHE BOOL
|
||||
set(PACKAGE OFF CACHE BOOL
|
||||
"Add a package target that builds an installer package.")
|
||||
|
||||
if (WINDOWS)
|
||||
|
||||
@@ -715,7 +715,11 @@ class DarwinManifest(ViewerManifest):
|
||||
|
||||
class LinuxManifest(ViewerManifest):
|
||||
def construct(self):
|
||||
import shutil
|
||||
shutil.rmtree("./packaged/app_settings/shaders", ignore_errors=True);
|
||||
|
||||
super(LinuxManifest, self).construct()
|
||||
|
||||
self.path("licenses-linux.txt","licenses.txt")
|
||||
|
||||
self.path("res/"+self.icon_name(),self.icon_name())
|
||||
|
||||
Reference in New Issue
Block a user