aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usagestatistic.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/usagestatistic.pro b/usagestatistic.pro
index fed7d71..3a80d9e 100644
--- a/usagestatistic.pro
+++ b/usagestatistic.pro
@@ -95,6 +95,10 @@ QTC_PLUGIN_RECOMMENDS += \
EXTRA_CMAKE_MODULES_INSTALL_PATH = "$${OUT_PWD}/extra-cmake-modules"
# Configure extra-cmake-modules
+
+ # Create build directory, in case if CMake won't be able do that
+ system("$$sprintf($$QMAKE_MKDIR_CMD, $$shell_path($${EXTRA_CMAKE_MODULES_BUILD_PATH}))")
+
system("cmake -S $$shell_path($${EXTRA_CMAKE_MODULES_SOURCE_PATH}) \
-B $$shell_path($${EXTRA_CMAKE_MODULES_BUILD_PATH}) \
-DCMAKE_INSTALL_PREFIX:PATH=\"$$shell_path($${EXTRA_CMAKE_MODULES_INSTALL_PATH})\"")
@@ -128,6 +132,9 @@ QTC_PLUGIN_RECOMMENDS += \
-DENABLE_CLI=OFF \
-DBUILD_SHARED_LIBS=OFF
+ # Create build directory, in case if CMake won't be able do that
+ system("$$sprintf($$QMAKE_MKDIR_CMD, $$shell_path($${KUSERFEEDBACK_BUILD_PATH}))")
+
system("cmake -S $$shell_path($${KUSERFEEDBACK_SOURCE_PATH}) \
-B $$shell_path($${KUSERFEEDBACK_BUILD_PATH}) \
$${KUSERFEEDBACK_COMPONENTS} \