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()