From d28634dc1c5eb28f9b8b88cbd8a869fe597513e0 Mon Sep 17 00:00:00 2001 From: rjindael Date: Sat, 8 Jul 2023 18:20:57 -0700 Subject: [PATCH] Fix builds (?) --- CMakeLists.txt | 1 + Projects/Client/Player/Source/MainWindow.cpp | 1 + Projects/Client/Studio/Source/MainWindow.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2162768..96f53da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ option(COMPILE_SERVER "Compile the RNR server" ON) set(DEPENDENCIES_DIR ${CMAKE_SOURCE_DIR}/Dependencies) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-attributes") # Ignore attribute warnings generated by Luau +set(CMAKE_AUTOMOC ON) # Enable Qt's automatic meta-object compiler find_package(Boost REQUIRED) find_package(cglm REQUIRED CONFIG) diff --git a/Projects/Client/Player/Source/MainWindow.cpp b/Projects/Client/Player/Source/MainWindow.cpp index 744d25e..2dbd995 100644 --- a/Projects/Client/Player/Source/MainWindow.cpp +++ b/Projects/Client/Player/Source/MainWindow.cpp @@ -1,4 +1,5 @@ #include +#include "Resources/PlayerResources.hpp" MainWindow::MainWindow() { diff --git a/Projects/Client/Studio/Source/MainWindow.cpp b/Projects/Client/Studio/Source/MainWindow.cpp index da731e0..85aa4d1 100644 --- a/Projects/Client/Studio/Source/MainWindow.cpp +++ b/Projects/Client/Studio/Source/MainWindow.cpp @@ -1,5 +1,6 @@ #include #include + #include "Resources/StudioResources.hpp" MainWindow::MainWindow()