Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Remove the usage of 3rdparty folder for Krita source detection
Dmitry Kazakov4be705a6d000
diff --git a/packaging/windows/package-complete-msvc.py b/packaging/windows/package-complete-msvc.pyindex d5693d6b21..bc08c1b66f 100644--- a/packaging/windows/package-complete-msvc.py+++ b/packaging/windows/package-complete-msvc.py@@ -120,7 +120,7 @@ if KRITA_SRC_DIR is None:if os.path.dirname(_temp).endswith("\\packaging\\windows"):_base = pathlib.PurePath(_temp)if os.path.isfile(f"{_base.parents[2]}\\CMakeLists.txt"):- if os.path.isfile(f"{_base.parents[2]}\\3rdparty\\CMakeLists.txt"):+ if os.path.isfile(f"{_base.parents[2]}\\libs\\version\\kritaversion.h.cmake"):KRITA_SRC_DIR = os.path.realpath(_base.parents[2])print("Script is running inside Krita source dir")diff --git a/packaging/windows/package-complete.py b/packaging/windows/package-complete.pyindex e9aac983db..d0cfae150e 100644--- a/packaging/windows/package-complete.py+++ b/packaging/windows/package-complete.py@@ -156,7 +156,7 @@ if KRITA_SRC_DIR is None:if os.path.dirname(_temp).endswith("\\packaging\\windows"):_base = pathlib.PurePath(_temp)if os.path.isfile(f"{_base.parents[2]}\\CMakeLists.txt"):- if os.path.isfile(f"{_base.parents[2]}\\3rdparty\\CMakeLists.txt"):+ if os.path.isfile(f"{_base.parents[2]}\\libs\\version\\kritaversion.h.cmake"):KRITA_SRC_DIR = os.path.realpath(_base.parents[2])print("Script is running inside Krita source dir")