(Windows) Fixed some MinGW compile errors.

This commit is contained in:
Leon Styhre 2020-12-28 23:49:34 +01:00
parent 9ec3f19482
commit e6847a09c7
3 changed files with 5 additions and 1 deletions

View file

@ -117,7 +117,9 @@ elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
add_definitions(-DNOMINMAX)
endif()
message("-- Build type is ${CMAKE_BUILD_TYPE}")
if (CMAKE_BUILD_TYPE)
message("-- Build type is ${CMAKE_BUILD_TYPE}")
endif()
# Set up compiler and linker flags for debug, profiling or release builds.
if(CMAKE_BUILD_TYPE MATCHES Debug)

View file

@ -9,6 +9,7 @@
#ifndef ES_CORE_RESOURCES_TEXTURE_DATA_H
#define ES_CORE_RESOURCES_TEXTURE_DATA_H
#include <cmath>
#include <mutex>
#include <string>
#include <vector>

View file

@ -14,6 +14,7 @@
#include "resources/ResourceManager.h"
#include "resources/TextureDataManager.h"
#include <cmath>
#include <set>
#include <string>