Skip to content

Commit

Permalink
SDL deps
Browse files Browse the repository at this point in the history
  • Loading branch information
HamilcarR committed Sep 9, 2024
1 parent f4bb4d1 commit 704cc4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions cmake/FindDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ find_package(Qt6 COMPONENTS Widgets REQUIRED)
find_package(GLEW REQUIRED)
find_package(OpenGL REQUIRED)
find_package(CUDAToolkit)
find_package(SDL2 QUIET)
find_package(SDL2_image QUIET)
find_package(Assimp QUIET)
find_package(Boost COMPONENTS program_options random stacktrace)
4 changes: 2 additions & 2 deletions sources/controller/GUIWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "GUIWindow.h"
#include "Config.h"

#include "ImageImporter.h"
#include <SDL_surface.h>

#include "ExceptionHandlerUI.h"
#include "ImageManager.h"
Expand Down Expand Up @@ -271,7 +271,7 @@ namespace controller {

setMouseTracking(true);

QCoreApplication::setAttribute(Qt::AA_DontUseNativeDialogs);
QCoreApplication::setAttribute(Qt::AA_DontUseNativeDialogs);
}

Controller::~Controller() { delete _MemManagement; }
Expand Down
2 changes: 1 addition & 1 deletion sources/controller/GUIWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
#include "constants.h"
#include "ui_main_window.h"
#include <QtWidgets/qmainwindow.h>
#include <SDL2/SDL_surface.h>

/**
* @file GUIWindow.h
*/

class ApplicationConfig;
class QTimer;
class SDL_Surface;

namespace controller::event {
class Event;
Expand Down

0 comments on commit 704cc4f

Please sign in to comment.