From f943c558562df212fc47702b35c618988cef4c81 Mon Sep 17 00:00:00 2001 From: rjindael Date: Tue, 11 Jul 2023 23:51:29 -0700 Subject: [PATCH] linguist: ignore Ogre files (+ nit) --- .gitattributes | 1 + Projects/Client/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..c7459c5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +Content/Ogre/** linguist-vendored \ No newline at end of file diff --git a/Projects/Client/CMakeLists.txt b/Projects/Client/CMakeLists.txt index 289168d..d637df9 100644 --- a/Projects/Client/CMakeLists.txt +++ b/Projects/Client/CMakeLists.txt @@ -5,8 +5,10 @@ if(COMPILE_PLAYER OR COMPILE_STUDIO) if(LINUX) include(/usr/share/cmake/Modules/FindX11.cmake) endif() + find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets OpenGLWidgets) set(QT6_LIBRARIES_INCL Qt6::Core Qt6::Gui Qt6::Widgets Qt6::OpenGLWidgets Qt6::GuiPrivate ${X11_X11_LIB}) + add_subdirectory(Common) if(COMPILE_PLAYER)