From b243561eec8a4bc69941350cf0ee7c7c5ed862d1 Mon Sep 17 00:00:00 2001 From: rjindael Date: Sat, 8 Jul 2023 12:57:30 -0700 Subject: [PATCH] fix Qt --- Projects/Client/CMakeLists.txt | 1 + Projects/Client/Common/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/Client/CMakeLists.txt b/Projects/Client/CMakeLists.txt index e9f5162..12b3186 100644 --- a/Projects/Client/CMakeLists.txt +++ b/Projects/Client/CMakeLists.txt @@ -1,4 +1,5 @@ if(COMPILE_PLAYER OR COMPILE_STUDIO) + find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets OpenGLWidgets) add_subdirectory(Common) if(COMPILE_PLAYER) diff --git a/Projects/Client/Common/CMakeLists.txt b/Projects/Client/Common/CMakeLists.txt index 15dd773..9ac8f69 100644 --- a/Projects/Client/Common/CMakeLists.txt +++ b/Projects/Client/Common/CMakeLists.txt @@ -2,7 +2,6 @@ add_subdirectory(${DEPENDENCIES_DIR}/GLAD Build) project(Common) -find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets OpenGLWidgets) set(QT6_LIBRARIES_INCL Qt6::Core Qt6::Gui Qt6::Widgets Qt6::OpenGLWidgets glad) qt_standard_project_setup()