mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
Fixed SDL2 warnings on Linux (-W-no-attributes).
Fixed #include for old Font.h location in Renderer_init_sdlgl.cpp.
This commit is contained in:
parent
5d6192613c
commit
0fa4cf527b
|
@ -82,7 +82,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||
message(SEND_ERROR "You need at least G++ 4.7 to compile EmulationStation!")
|
||||
endif()
|
||||
#set up compiler flags for GCC
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") #support C++11 for std::, optimize
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes") #support C++11 for std::, optimize
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s") #strip binary
|
||||
endif()
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include <iostream>
|
||||
#include "platform.h"
|
||||
#include GLHEADER
|
||||
#include "Font.h"
|
||||
#include "resources/Font.h"
|
||||
#include <SDL.h>
|
||||
#include "Log.h"
|
||||
#include "ImageIO.h"
|
||||
|
|
Loading…
Reference in a new issue