From 9f32c57f1c224950b11fce1c166518f82c80d770 Mon Sep 17 00:00:00 2001
From: yossizap <yossizap@gmail.com>
Date: Tue, 15 Dec 2020 20:45:15 +0000
Subject: [PATCH] Attempt to fix gh

---
 .github/workflows/ccpp.yml | 4 +++-
 CMakeLists.txt             | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
index 3b40b76f..bd193d85 100644
--- a/.github/workflows/ccpp.yml
+++ b/.github/workflows/ccpp.yml
@@ -101,7 +101,9 @@ jobs:
         fi
 
         source scripts/prepare_breakpad_linux.sh
-        export PKG_CONFIG_PATH="$CUSTOM_BREAKPAD_PREFIX/lib/pkgconfig:${PKG_CONFIG_PATH:-}" #
+        export PKG_CONFIG_PATH="$CUSTOM_BREAKPAD_PREFIX/lib/pkgconfig:${PKG_CONFIG_PATH:-}"
+        export QT_QPA_PLATFORM=minimal
+        export LD_LIBRARY_PATH=./Rizin-prefix/lib:$LD_LIBRARY_PATH
         mkdir build
         cd build
         cmake --version
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 991368ec..ef398b44 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,6 +27,7 @@ option(CUTTER_PACKAGE_DEPENDENCIES "During install step include the third party
 option(CUTTER_PACKAGE_RZ_GHIDRA "Compile and install rz-ghidra during install step." OFF)
 option(CUTTER_PACKAGE_RZ_LIBSWIFT, "Compile and install rz-libswift demangler during the install step." OFF)
 option(CUTTER_PACKAGE_JSDEC "Compile and install jsdec during install step." OFF)
+option(CUTTER_ENABLE_TESTS "Build QtTest tests" OFF)
 OPTION(CUTTER_QT6 "Use QT6" OFF)
 
 if(NOT CUTTER_ENABLE_PYTHON)