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:
Aloshi 2013-10-08 16:31:29 -05:00
parent 5d6192613c
commit 0fa4cf527b
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
message(SEND_ERROR "You need at least G++ 4.7 to compile EmulationStation!") message(SEND_ERROR "You need at least G++ 4.7 to compile EmulationStation!")
endif() endif()
#set up compiler flags for GCC #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 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s") #strip binary
endif() endif()

View file

@ -2,7 +2,7 @@
#include <iostream> #include <iostream>
#include "platform.h" #include "platform.h"
#include GLHEADER #include GLHEADER
#include "Font.h" #include "resources/Font.h"
#include <SDL.h> #include <SDL.h>
#include "Log.h" #include "Log.h"
#include "ImageIO.h" #include "ImageIO.h"