(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) add_definitions(-DNOMINMAX)
endif() endif()
if (CMAKE_BUILD_TYPE)
message("-- Build type is ${CMAKE_BUILD_TYPE}") message("-- Build type is ${CMAKE_BUILD_TYPE}")
endif()
# Set up compiler and linker flags for debug, profiling or release builds. # Set up compiler and linker flags for debug, profiling or release builds.
if(CMAKE_BUILD_TYPE MATCHES Debug) if(CMAKE_BUILD_TYPE MATCHES Debug)

View file

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

View file

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