Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 43 lines 1.4 kB view raw
1From d9e7361a174f0f491c49fe78cd96a823c65e97dd Mon Sep 17 00:00:00 2001 2From: qr243vbi <uiguruigurovich@gmail.com> 3Date: Sat, 7 Jun 2025 01:18:03 +0300 4Subject: [PATCH 1/2] Update CMakeLists.txt 5 6--- 7 CMakeLists.txt | 1 + 8 1 file changed, 1 insertion(+) 9 10diff --git a/CMakeLists.txt b/CMakeLists.txt 11index 54051a4ef2..531c46abbe 100644 12--- a/CMakeLists.txt 13+++ b/CMakeLists.txt 14@@ -16,6 +16,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules") 15 list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modules") 16 include(DownloadExternals) 17 include(CMakeDependentOption) 18+include(FindPkgConfig) 19 20 project(citra LANGUAGES C CXX ASM) 21 22 23From 679a4036e2fbb96d1d6a803f3f59ae8f01f9e691 Mon Sep 17 00:00:00 2001 24From: qr243vbi <uiguruigurovich@gmail.com> 25Date: Sat, 7 Jun 2025 12:49:07 +0300 26Subject: [PATCH 2/2] Add missing find_package directive 27 28--- 29 src/citra_qt/CMakeLists.txt | 1 + 30 1 file changed, 1 insertion(+) 31 32diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt 33index 1b78605a0a..de00dc4609 100644 34--- a/src/citra_qt/CMakeLists.txt 35+++ b/src/citra_qt/CMakeLists.txt 36@@ -273,6 +273,7 @@ if (ENABLE_VULKAN) 37 endif() 38 39 if (NOT WIN32) 40+ find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) 41 target_include_directories(citra_qt PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS}) 42 endif() 43